Showing posts with label 0516-0301-168. Show all posts
Showing posts with label 0516-0301-168. Show all posts

Friday 3 December 2021

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

This Post resolves the below BLV issue. If you got this error while creating/re-creating the boot image on rootvg disk, follow the below steps to resolve the issue.

# bosboot -ad /dev/hdisk0

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:

1. Check if hd5 logical volume exists on rootvg disk. If rootvg is mirrored, verify both disks.

# lsvg -p rootvg
# lsvg -l rootvg
# lspv -l hdisk0
# lspv -l hdisk1

2. Logical Volume hd5 must be on the 1st PP of the disk.

# lslv -m hd5

3. To save the base customized information and see verbose output. If it shows no boot image found on disk, next we have to remove and re-create the logical volume hd5.

# savebase -v
No boot images found on disk...

4. Remove and re-create the logical volume hd5.

# rmlv hd5

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

5. Next remove the file ipldevice under /dev and try to create the boot image on disk. If it shows the same error, then we have to boot device information on hdisk0.

# ls -lrt /dev/ipldevice*
# rm /dev/ipldevice
# ln /dev/rhdisk0 /dev/ipldevice

# bosboot -ad /dev/ipldevice  ( If you got same error )

6. Verify the boot device information on hdisk0. If it displays a 1 the IPL code in the ROS on the machine running the command is capable of booting from the specified disk. Otherwise, the command displays a 0.

# bootinfo -B hdisk0          ( Show output 1 )
# ln /dev/rhd5 /dev/ipl_blv
# cd /dev                             ( Same major /minor numbers)

7. Now we got the same minor and major number for hdisk0.

# ls -ld /dev/ipldevice
crw-------    2 root     system       13,  0 Oct 31 2019  ipldevice

# ls -ld /dev | grep -i "13,  0"
# ls -l /dev | grep "13,  0"
brw-------    1 root     system       13,  0 Dec 03 12:57 hdisk0
crw-------    2 root     system       13,  0 Dec 03 06:59 ipldevice
crw-------    2 root     system       13,  0 Dec 03 06:59 rhdisk0
#

8. Create boot image on ipldevice. Now it will work and next try to create/ re-create boot images on hdisk0.

# bosboot -ad /dev/ipldevice

bosboot: Boot image is 53276 512 byte blocks.

# bosboot -ad /dev/hdisk0
# bosboot -ad /dev/hdisk1



Thanks for reading this post. Please comment if you like it.

Privacy Policy

  Privacy Policy for UNIX TECH INFO At UNIX TECH INFO, accessible from https://unixworld4admin.blogspot.com/, one of our main priorities is ...