HP-UX HB v13.00 Ch-21 - Itanium
HP-UX Handbook – Rev 13.00 Page 25 (of 35)
Chapter 21 Itanium Architecture (IA)
October 29, 2013
5) Verify the LABEL files on root and mirror disk:
# vxvmboot -v /dev/rdsk/c1t0d0s2
LIF Label File @ (1k) block # 834 on VxVM Disk /dev/rdsk/c1t0d0s2:
Label Entry: 0, Boot Volume start: 3168; length: 300 MB
Label Entry: 1, Root Volume start: 4504672; length: 400 MB
Label Entry: 2, Swap Volume start: 310368; length: 4096 MB
Label Entry: 3, Dump Volume start: 310368; length: 4096 MB
# vxvmboot -v /dev/rdsk/c2t1d0s2
LIF Label File @ (1k) block # 834 on VxVM Disk /dev/rdsk/c2t1d0s2:
Label Entry: 0, Boot Volume start: 3168; length: 300 MB
Label Entry: 1, Root Volume start: 4504672; length: 400 MB
Label Entry: 2, Swap Volume start: 310368; length: 4096 MB
Label Entry: 3, Dump Volume start: 310368; length: 4096 MB
6) Verify the setboot path:
# setboot
How to replace a failed disk (LVM)
There is no difference between PA and IPF systems when talking about replacing non-root disks.
Even for root disks the procedure is quite similar, so for details refer to the LVM chapter. The
partitioned disk layout and the existance of EFI needs to be considered though. Hence there are
three major differences compared to the usual “hot-swap” procedure.
1) Partition the new disk
You have to run idisk(1M) first before performing mkboot(1M), lvlnboot(1M) and
vgcfgrestore(1M) in order to partition the new disk. Note that vgcfgrestore(1M) does not
restore EFI or LIF. This is done by mkboot(1M). idisk(1M) usage is explained in step 1 of
the LVM mirror procedure above.
2) Recreate EFI boot option
idisk(1M) creates a new disk identifier (GUID) on the disk. If an EFI boot option entry (held
in NVRAM) exists for the replaced disk it is still linked to the old GUID. Hence you have to
remove the old boot option entry and add a new one. Refer to the additional boot options
section below.
For UX 11.23 this is done automatically by the setboot(1M) command:
# setboot -h 0/1/1/0.1.0
-h means high available alternate
3) Be careful to specify the s2 device file (c#t#d#s2) when performing LVM commands.