HP-UX HB v13.00 Ch-21 - Itanium
HP-UX Handbook ā Rev 13.00 Page 23 (of 35)
Chapter 21 Itanium Architecture (IA)
October 29, 2013
mkboot(1M) command. But if you take e.g. an old UX 11.22 boot disk as mirror disk, mkboot will
not automatically run efi_fsinit. As a result only 100MB of the 500MB EFI partition (s1) can be
used.
4) Use mkboot(1M) to format the EFI partition (s1) and populate it with the EFI files below
/usr/lib/efi/ and to format the LIF volume (part of s2) and populate it with the LIF files
(ISL, AUTO, HPUX, LABEL) below /usr/lib/uxbootlf:
# mkboot -e -l /dev/rdsk/c2t1d0
# efi_ls -d /dev/rdsk/c2t1d0s1 (to check EFI)
FileName Last Modified Size
EFI/ 11/ 5/2003 0
STARTUP.NSH 11/ 5/2003 296
total space 523251712 bytes, free space 520073216 bytes
# lifls -l /dev/rdsk/c2t1d0s2 (to check LIF)
5) Check the content of AUTO file on EFI partition:
# efi_cp -d /dev/rdsk/c2t1d0s1 -u /EFI/HPUX/AUTO /tmp/x; cat /tmp/x
NOTE: Specify the -lq option if prefer that your system boots up without interruption in case of a
disk failure:
# mkboot -a "boot vmunix -lq" /dev/rdsk/c2t1d0
# mkboot -a "boot vmunix -lq" /dev/rdsk/c1t0d0
6) Copy the HP service partition (UX 11.23 only):
(skip this, if you donāt have a service partition)
# dd if=/dev/rdsk/c1t0d0s3 of=/dev/rdsk/c2t1d0s3 bs=1024k
7) Initialize the LVM partition (s2) and add it to vg00:
# pvcreate [-f] āB /dev/rdsk/c2t1d0s2 (take care to use s2)
# vgextend vg00 /dev/dsk/c2t1d0s2
8) Mirror the LVs to the s2 partition:
# for i in lvol1 lvol2 ... lvol8 (specify each LV)
> do lvextend -m 1 /dev/vg00/$i /dev/dsk/c2t1d0s2
> done
9) Check if content of LABEL file
(i.e. root, boot, swap and dump device definition) has been initialized (done by lvextend) on
the mirror disk:
# lvlnboot āv
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t0d0s2 (0/1/1/1.2.0) -- Boot Disk
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t0d0s2