Sunday, January 23, 2011

0301-168 bosboot: The current boot logical volume, /dev/, does not exist on /dev/hdisk0.

root@yyxxxx4:/dev
# bosboot -ad /dev/ipldevice
0516-602 lslv: Logical volume name not entered.
Usage: lslv [-L] [-l | -m] [-n DescriptorPV] LVname
       lslv: [-L] [-n DescriptorPV] -p PVname [LVname]
Lists the characteristics of a logical volume.

0301-168 bosboot: The current boot logical volume, /dev/,   does not exist on /dev/hdisk0.

Solution:

lsvg -p rootvg - hdisk0

lslv -m hd5 - hdisk0 on PV1 1st partition

savebase -v - successful

will remove/recreate hd5

rmlv hd5

# mklv -y hd5 -t boot -a e rootvg 1 hdisk0

cd /dev

rm ipldevice

ln /dev/rhdisk0 /dev/ipldevice

bosboot -ad /dev/ipldevice - same error

bootinfo -B hdisk0 - 1

# ln /dev/rhd5 /dev/ipl_blv

cd /dev - same maj/min numbers

bosboot -ad /dev/ipldevice - works!

alt_disk_install was able to proceed now

9 comments:

  1. The part that I was missing and that you had above was the link to the ipl_blv.....Thank you!!

    ReplyDelete
  2. I've been an AIX admin for 14 years and never came across this issue before. Your walkthrough fixed my issue of `bosboot -a` not working after cloning a server. Kudos to you!

    ReplyDelete
  3. Thanks, that work like charm. I was missing to link rhd5 to ipl_blv5.

    ReplyDelete
  4. we tried the same procedure but still its not working

    ReplyDelete
  5. Hi Shameem Banu,

    If your OS is running in the EMC Powerdisk then make sure you type ' pprootdev off ' before taking mksysb.

    We cannot make the power disk as the boot device only the child disks can be made as the boot device.

    Thanks,
    Arshed

    ReplyDelete
  6. Thank you so much, your step by step solutions resolved mine /dev/hd5 missing or corrupted on hdisk0.

    Thanks
    Hasan

    ReplyDelete