Wednesday, May 21, 2008

AIX fix corrupted boot logical volume

Boot from cdrom or NIM(F1 or #1 to set SMS options)
>Maintenance
>> 1 Access a Root Volume Group
>>> select hd5
#bosboot -ad /dev/hdisk0
#shutdown -Fr

if you ever need to create hd5 then,
Boot from cdrom or NIM(F1 or #1 to set SMS options)
>Maintenance
>> 1 Access a Root Volume Group
>>> select hd5
#rmlv hd5
#chpv -c hdisk0
#mklv -y hd5 -t boot -a e rootvg 1
#bosboot -ad /dev/hdisk0
#bootlist -m normal -0
#sync
#sync
#shutdown -Fr