I understand you're doing a storage migration from HP storage to Netapp, am I right?
1.) Yes, for the OS-level mirroring, MirrorDisk/UX is required.
2.) Only if your server has a hardware RAID controller. Some sysadmins actually prefer MirrorDisk/UX for vg00 mirroring in all servers - it is the "standard way to do things".
3.) With MirrorDisk/UX, you can mirror the filesystems to the new storage, and then delete the mirror copy from the old storage. This is a good way to migrate to a new storage system without service interruptions.
If you don't have MirrorDisk, you can still do it using the HP-UX standard command "pvmove".
The general procedure is:
- create a new LUN in new storage
- add the new LUN to the old VG
- use pvmove to move the contents of one old LUN to the new LUN
- drop the old, now-empty LUN from the VG
- repeat until all data is moved
This does not require a service interruption either.
Note that both procedures will cause a huge disk I/O when the data is mirrored/moved to the new storage system, so it's not a good idea to do this at the time of peak load.
4.) HP-UX does not have a concept of "mirroring VG to another VG": the concept is "mirroring the data of a LV to two or more PVs".
Of course, if you can take a service interruption, you can mount the LVs of the new VG to a temporary location and then manually copy all the data. The standard, portable way to copy an entire directory hierarchy and preserve all ownerships and file permissions is to use tar as root:
cd /source
tar cf - . | (cd /destination; tar xvf -)
MK
MK