Dynamic Root Disk and MirrorDisk/UX
# /usr/sbin/vgextend /dev/vg00 /dev/dsk/mirror_disk
4. Run the mkboot command to create the boot areas on the disk. (Either the character or block
device may be used, but both must exist.)
# /usr/sbin/mkboot /dev/rdsk/mirror_disk
5. Run the mkboot command again to update the boot string in the AUTO file. The–lq option ensures
that the system will boot without quorum. In the event of the primary boot disk failing this will
allow the mirror disk to boot.
# /usr/sbin/mkboot -a "hpux -lq" /dev/rdsk/mirror_disk
6. Starting with the boot, swap, and root logical volumes, run lvextend to mirror each logical
volume:
# /usr/sbin/lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/mirror_disk
# /usr/sbin/lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/mirror_disk
# /usr/sbin/lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/mirror_disk
# /usr/sbin/lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/mirror_disk
# /usr/sbin/lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/mirror_disk
...
7. Run the following lvlnboot commands to reestablish LVM’s knowledge of the root and boot file
systems and primary swap and dump:
# /usr/sbin/lvlnboot -b /dev/vg00/lvol1
# /usr/sbin/lvlnboot -r /dev/vg00/lvol3
# /usr/sbin/lvlnboot -s /dev/vg00/lvol2
# /usr/sbin/lvlnboot -d /dev/vg00/lvol2
# /usr/sbin/lvlnboot -R
8. Add the block device special file of the mirror to the file /stand/bootconf. The lower
case “l” in the following command indicates that the disk is managed by
LVM or VxVM.
# /usr/bin/echo “l /dev/dsk/mirror_disk” >> /stand/bootconf
9. If desired, set the alternate boot path to the mirror_disk, using the hardware address determined
in Step 5.
# /usr/sbin/setboot -a hardware_path_of_mirror_disk
How to Mirror vg00 – HP Integrity Systems (v2 and v3)
Follow this procedure to mirror vg00 on an HP Integrity system: