00271 current /dev/vg00/lvol7 00000
00408 current /dev/vg00/lvol8 00000
8.
Mirror each logical volume in
vg00
(the root volume group) onto the specified physical volume.
For example:
# lvextend –m 1 /dev/vg00/lvol1 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol2 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol3 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol4 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol5 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol6 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol7 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol8 /dev/disk/disk2_p2
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
NOTE:
If
lvextend
fails with following message:
"m": illegal option
HP MirrorDisk/UX is not installed.
TIP:
To shorten the time required to synchronize the mirror copies, use the
lvextend
and
lvsync
command options introduced in the September 2007 release of HP-UX 11i Version
3. These options enable you to resynchronize logical volumes in parallel rather than serially.
For example:
# lvextend -s –m 1 /dev/vg00/lvol1 /dev/disk/disk2_p2
# lvextend -s –m 1 /dev/vg00/lvol2 /dev/disk/disk2_p2
# lvextend -s –m 1 /dev/vg00/lvol3 /dev/disk/disk2_p2
# lvextend -s –m 1 /dev/vg00/lvol4 /dev/disk/disk2_p2
# lvextend -s –m 1 /dev/vg00/lvol5 /dev/disk/disk2_p2
# lvextend -s –m 1 /dev/vg00/lvol6 /dev/disk/disk2_p2
# lvextend -s –m 1 /dev/vg00/lvol7 /dev/disk/disk2_p2
# lvextend -s –m 1 /dev/vg00/lvol8 /dev/disk/disk2_p2
# lvsync -T /dev/vg00/lvol*
9.
Update the root volume group information as follows:
# lvlnboot -R /dev/vg00
10. 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 as follows:
# lvlnboot -v
11. Specify the mirror disk as the alternate boot path in nonvolatile memory as follows:
# setboot –a 0/1/1/0.0x1.0x0
94
Administering LVM