Problem

The mirroring of the boot disk was not correctly performed:

  • pvcreate was executed without the -B (boot) option for the mirror disk (c1t1d0).
  • all logical volumes were correctly mirrored.

Solution

  1. Go back to a one disk situation:
# lvreduce -m 0 /dev/vg00/lvolx /dev/dsk/c1t1d0
# vgreduce /dev/vg00 /dev/dsk/c1t1d0
  1. Re-create the mirrored disk:
# pvcreate -B /dev/rdsk/c1t1d0
# mkboot /dev/rdsk/c1t1d0
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c0t8d0
# mkboot -a "hpux -lq" /dev/rdsk/c1t1d0
# vgextend /dev/vg00 /dev/dsk/c1t1d0
# lvextend -m 1 /dev/vg00/lvolx /dev/dsk/c1t1d0

:pushpin: do this command for all logical volumes.

# lvlnboot -R /dev/vg00

Edit the file /stand/bootconf so that it contains also the mirror boot disk.

Now the mirror disk will be bootable as well.

Leave a comment