Adding mirroring to the root vg - HP Unix

  1. pvcreate -B /dev/rdisk/c2t2d0
    • Create the PV on the second disk so that LVM can manage it
    • -B makes it a bootable volume
  2. mkboot /dev/rdsk/c2t2d0
    • Installs the boot files on the second disk
  3. mkboot -a "hpux-lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0
    • Creates an autoboot file on the disk, with information on how to boot
  4. vgextend /dev/vg00 /dev/dsk/c2t2d0
    • extends the volume group to include this second disk.
  5. vgdisplay -v vg00
    • To verify that the second disk is now part of the volume group
  6. lvlnboot -v
    • To verify that the system thinks this disk can boot
  7. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0
    • This extends the logical volume to the mirrored disk, effectively creating the mirrored copy.
    • This command needs to be run for each logical volume in the volume group


0 comments:

Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks