Installation guide
Mirroring Root and Primary Swap
4-6 Fault Tolerant System Administration (R1004H) HP-UX version 11.00.03
4. Add an AUTO file in the boot LIF area. To do this, enter
mkboot -a “hpux (14/0/1.0.0;0)/stand/vmunix” /dev/rdsk/address
5. Define the boot volume (typically lvol1), which must be the first logical
volume on the physical volume. To do this, enter
lvlnboot -b lvol1 /dev/vg00
This takes effect on the next system boot.
NOTE
The procedure in this section creates a mirror copy of the primary swap
logical volume (typically lvol2). During installation, the primary swap
logical volume was allocated on contiguous disk space and the Mirror
Write Cache and the Mirror Consistency Recovery mechanisms were
disabled for the swap logical volume.
6. Mirror the root logical volumes that were created during installation to the
new bootable disk. To do this, enter
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/address
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/address
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/address
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/address
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/address
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/address
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/address
7. Verify that the boot information contained in the boot disks in the root volume
group has been automatically updated with the locations of the mirror copies
of root and primary swap. To do this, enter
lvlnboot -v
You should see something similar to the following:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/address (14/0/0.0.0) -- Boot Disk
/dev/dsk/address (14/0/1.0.0) -- Boot Disk
Root: lvol1 on: /dev/dsk/address
/dev/dsd/address
Swap: lvol2 on: /dev/dsk/address
/dev/dsd/address
Dump: lvol2 on: /dev/dsk/address, 0