Installation guide
Mirroring Root and Primary Swap
HP-UX version 11.00.03 Mirroring Data 4-7
8. Verify that the logical volumes have been created as you intended. To do this,
enter
lvdisplay /dev/vg00/lvol1
You should see something similar to the following:
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 100
Current LE 25
Allocated PE 25
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
After you have created mirror copies of the root logical volume and the primary
swap logical volume, should either of the disks fail, the system can use the copy of
root or of primary swap on the other disk to continue. If the system does not reboot
before the failed disk comes online, then the failed disk will be automatically
recovered.
If the system reboots before the disk is back online, you need to reactivate the disk
and update the LVM data structures that track the disks within the volume group.
You can use vgchange -a y even though the volume group is already active.
For example, to reactivate the disk, enter
vgchange -a y /dev/vg00
In this example, LVM scans and activates all available disks in the volume group,
vg00, including the disk that came online after the system rebooted.