This blog is to ensure that we are in proper phase before replacing a failed disk that belongs to rootvg.
Imaging that your volume group is made up of hdisk0 and hdisk1.
hdisk1 is gone bad. Before you replace make sure the hdisk0 is in good condition.
# ipl_varyon -i
PVNAME BOOT DEVICE PVID VOLUME GROUP ID
hdisk0 YES 00046474e2326aa40000000000000000 0004647400004c00
Imaging that your volume group is made up of hdisk0 and hdisk1.
hdisk1 is gone bad. Before you replace make sure the hdisk0 is in good condition.
# ipl_varyon -i
PVNAME BOOT DEVICE PVID VOLUME GROUP ID
hdisk0 YES 00046474e2326aa40000000000000000 0004647400004c00
Make sure the "BOOT DEVICE" is set to "YES".
If not, make the disk a bootable one,
# bosboot -ad /dev/hdisk0
# mkboot -cd /dev/hdisk0
Verify the server is booting from a good disk,
# bootlist -m secure/service/normal -o hdisk0
# bootlist -m both -o -v
NVRAM variable: (boot-device=/pci@fef00000/scsi@e/sd@8:2 /pci@fef00000/scsi@e/sd@c:2)
Path name: (/pci@fef00000/scsi@e/sd@8:2)
Verify the bootable path is updated in NVRAM.