Originally posted by: cd3lgado
Hi
Not easy one. You need to delete all reference to that hdisk0 in the ODM of your AIX system. To do that you need to use commands like odmget and odmdelete to make a copy of your current ODM config and then delete those entries tagged with "hdisk0". Once ODM is clean you can try rebuilding the ipldevice by running:
bosboot -ad /dev/ipldevice
/dev/ipldevice is a link to the disk you want to use for boot, or the disk that has a correct boot partition, by default hd5.
1. How to find disk drive in ODM customized database:
odmget -q name=hdisk# CuAt Where CuAt = Customized Attribute
odmget -q value=hdisk# CuAt odmget -q name=hdisk# CuDv where CuDv = Customized Device
odmget -q value3=hdisk# CuDvDr where CuDvDr = Customized Device Driver odmget -q name=hdisk# CuDep where CuDep = Customized Dependency
odmget -q name=hdisk# CuVPD where CuVPD = Customized Vital Product Database
2. How to remove disk drive entries from ODM customized database:
odmdelete -q name=hdisk# -o CuAt
odmdelete -q value=hdisk# -o CuAt
odmdelete -q name=hdisk# -o CuDv odmdelete -q value3=hdisk# -o CuDvDr odmdelete -q name=hdisk# -o CuDep odmdelete -q name=hdisk# -o CuVPD
Hope this helps