Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Administering a System: Managing Disks and Files
Managing File Systems
Chapter 6632
dump. To reset these options, you will need to reboot your system in
maintenance mode. Then use the lvchange command with the -M n and
-c n options.
Step 5. Use the lvextend command to mirror each logical volume in the root
volume group onto the specified disk. The logical volumes must be
extended in the same order that they are configured on the original boot
disk. Use the pvdisplay command with the -v option to determine the
list of logical volumes and their order. For example:
pvdisplay -v /dev/dsk/c0t6d0 | grep ’current.*0000$’
00000 current /dev/vg00/lvol1 00000
00038 current /dev/vg00/lvol2 00000
00550 current /dev/vg00/lvol3 00000
00583 current /dev/vg00/lvol4 00000
00608 current /dev/vg00/lvol5 00000
00611 current /dev/vg00/lvol6 00000
00923 current /dev/vg00/lvol7 00000
01252 current /dev/vg00/lvol8 00000
In this example, mirror the logical volumes as follows:
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t3d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t3d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t3d0
lvextend -m 1 /dev/vg00/lv0l4 /dev/dsk/c0t3d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c0t3d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c0t3d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c0t3d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c0t3d0
Step 6. Update the root volume group information:
lvlnboot -R /dev/vg00
Step 7. Display the BDRA. Verify that the mirrored disk is displayed as a boot
disk and that the boot, root, and swap logical volumes appear to be on
both disks:
lvlnboot –v
Step 8. Specify the mirror disk as the alternate boot path in nonvolatile memory:
setboot -a
path_to_disk