Ignite-UX and MirrorDisk/UX
3. The mkboot command must be run on the alternate boot disk so that a copy of the primary and
secondary loader (and other things) are placed into the LIF
1
space that was reserved by using the
–B option to pvcreate in Step 1.
# mkboot /dev/dsk/<second disk>
4. Update the boot string in the AUTO file in the LIF on the alternate boot disk. The –lq should be
placed in the AUTO file to ensure that the system will attempt to boot without quorum. In the event
that the primary boot disk fails, this will allow the alternate boot disk to boot if it is not available.
# mkboot -a "hpux -lq" /dev/rdsk/<second disk>>
5. Mirror the disks by extending all of the logical volumes, in order, onto the alternate boot disk.
Note:
The boot, root and primary swap/dump file systems must be
contiguous. If you need to mirror to more than one disk, you may need
to add a second disk or change the name of the disk being used when
extending the logical volumes.
The
boot, root and primary swap/dump file systems should be
mirrored before any other file system is mirrored.
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/<second disk>
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/<second disk>
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/<second disk>
# lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/<second disk>
# lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/<second disk>
.
.
.
6. Reestablish the location of boot, root and primary swap/dump file systems within LVM using
(or modifying as needed) the following commands:
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
# lvlnboot -R
7. You must add the boot disk to the file, /stand/bootconf. A new line must be inserted in this
file when using LVM and it should start with an “l” (lower case letter L), and then followed by
1
Logical Interchange Format, see manual page lif(4) for more information.
4