HP-UX HB v13.00 Ch-21 - Itanium
HP-UX Handbook – Rev 13.00 Page 24 (of 35)
Chapter 21 Itanium Architecture (IA)
October 29, 2013
/dev/dsk/c2t1d0s2
Root: lvol3 on: /dev/dsk/c1t0d0s2
/dev/dsk/c2t1d0s2
Swap: lvol2 on: /dev/dsk/c1t0d0s2
/dev/dsk/c2t1d0s2
Dump: lvol2 on: /dev/dsk/c1t0d0s2, 0
If not, then set it:
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
8) Add a line to /stand/bootconf for the new boot disk (the letter l is for LVM)
# vi /stand/bootconf
l /dev/dsk/c2t1d0s2
l /dev/dsk/c1t0d0s2
NOTE: This is not neccessary to be able to boot from the mirror in the first place. But if you omit it
then you will run into trouble when installing an EFI boot loader patch (e.g. PHKL_34088). This
patch updates the hpux.efi boot loader on all disks listed in the bootconf file.
9) Specify the mirrored disk as alternate bootpath
# setboot –a <HW path of mirror>
# setboot –h <HW path of mirror> (for UX 11.23 use the HA alternate)
# setboot (to check it)
NOTE: At UX 11.22 setboot did not automatically create an EFI boot option for the mirror. Follow
the steps in the “How to configure additional boot options” section below to do this.
For VxVM
For VxVM most of the work is done automatically by the vxrootmir(1M) script.
1) Have VxVM see the new c2t1d0 disk (if not already booted with it):
# vxdctl enable
2) Confirm that you can see the new disk as “online” or “online invalid”:
# vxdisk list
3) Mirror the root disk. This may take some time:
# /etc/vx/bin/vxrootmir -v –b c2t1d0
4) Verify that all volumes are mirrored:
# vxprint -g rootdg