Mirroring the root disk with LVM

To mirror an existing root volume:

  1. pvcreate -B /dev/rdsk/device (-B creates BDRA area)

  2. vgextend /dev/vg00 /dev/dsk/device

  3. mkboot /dev/rdsk/device (put boot utilities into boot area)

  4. mkboot -a “hpux boot arguements here” /dev/rdsk/device

  5. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/device

  6. lvextend -m 1 /dev/vg00/swaplv /dev/dsk//device

  7. repeat lvextend in sequence for all root logical volumes

  8. lvlnboot -v ( to update the boot information with the new disk)