2.
Create a bootable physical volume as follows:
# pvcreate -B /dev/rdisk/disk4
3.
Add the physical volume to your existing root volume group as follows:
# vgextend /dev/vg00 /dev/disk/disk4
4.
Place boot utilities in the boot area as follows:
# mkboot /dev/rdisk/disk4
5.
Add an autoboot file to the disk boot area as follows:
# mkboot -a "hpux" /dev/rdisk/disk4
NOTE:
If you expect to boot from this disk only when you lose quorum, you can use the
alternate string
hpux –lq
to disable quorum checking. However, HP recommends configuring
your root volume group to minimize quorum losses, by using at least three physical volumes
and no single points of failure, as described in
“Planning for Recovery” (page 34)
.
6.
The logical volumes on the mirror boot disk must be extended in the same order that they are
configured on the original boot disk. Determine the list of logical volumes in the root volume
group and their order. For example:
# pvdisplay -v /dev/disk/disk0 | 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
7.
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/disk4
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol2 /dev/disk/disk4
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol3 /dev/disk/disk4
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol4 /dev/disk/disk4
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol5 /dev/disk/disk4
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol6 /dev/disk/disk4
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol7 /dev/disk/disk4
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
# lvextend –m 1 /dev/vg00/lvol8 /dev/disk/disk4
The newly allocated mirrors are now being synchronized.
This operation will take some time. Please wait ....
Moving and Reconfiguring Your Disks
91