Issue:0301-184 bosboot: Copy 1 of boot logical volume hd5 is not contiguous error
Solution:
Recently when I am taking mksysb image of the server ,it was failing by giving below error.
"If *hd5* consists of more than one logical partition, then, after mirroring *hd5*, the user must verify that the mirrored copy of *hd5* resides on contiguous physical partitions. This can be verified with the following
command:
# /usr/bin/mksysb -eiXp /mksysb/umlpar.mksysb
0301-184 bosboot: Copy 1 of boot logical volume hd5 is not contiguous.
Tried to run the bosboot manually again got same error0301-184 bosboot: Copy 1 of boot logical volume hd5 is not contiguous.
# bosboot -ad /dev/hdisk1
0301-184 bosboot: Copy 1 of boot logical volume hd5 is not contiguous.
After some research I found the cause for the issue was due to 0301-184 bosboot: Copy 1 of boot logical volume hd5 is not contiguous.
"If *hd5* consists of more than one logical partition, then, after mirroring *hd5*, the user must verify that the mirrored copy of *hd5* resides on contiguous physical partitions. This can be verified with the following
command:
# lslv -m hd5
If the mirrored *hd5* partitions are not contiguous, the user must delete the mirror copy of *hd5* (on *hdisk1*) and rerun the *mklvcopy* command for *hd5*, using the *-m* option. The user should consult documentation on the usage of the *-m* option for the *mklvcopy* command." you can fix the issue by using below steps:
Procedure:
1. Remove the hd5: # rmlv hd5 2. Clear boot record on the disk # chpv -c hdiskx 3. Create the boot lv hd5: # mklv -t boot -y hd5 rootvg 1 hdiskx 4. Now re-create the BLV; # bosboot -ad /dev/hdiskx -l hd5 5.Set bootlist # bootlist -m normal hdsikx blv=hd5
thanks for your nice post.
ReplyDeletebut there is an error on line no 2
" chdev -c hdiskx" which should be "chpv -c hdisk0"
Here hdiskx is your bootdisk it may be either hdisk0 or hdisk1 or any other disk , which you configured on your system. you can check your boot disks using "bootlist -m normal -o"
DeleteI think you missed the poster's point . The command on line 2 should chpv not chdev
ReplyDeleteThanks ..I have corrected it
DeleteThank for this post Unixmantra.. I was getting bosboot error 0301-184 bosboot: Copy 1 of boot logical volume hd5 is not contiguous...That I was able to resolve with this post...Thank you and god bless you. Keep up the great work.
ReplyDelete