Operating System - HP-UX
1838765 Members
3137 Online
110129 Solutions
New Discussion

Re: lvlnboot -b is not setting the boot logical volume

 
Jordan Bean
Honored Contributor

lvlnboot -b is not setting the boot logical volume

A search for lvlnboot returns nothing.

My environment:
HP-UX 11i v1, June 2003
lvlnboot -r /dev/vg05/root... works
lvlnboot -s /dev/vg05/swap0... works
lvlnboot -d /dev/vg05/swap0... works

lvlnboot -b /dev/vg05/boot... does not work

lvlnboot -v /dev/vg05 always returns "No Boot Logical Volume configured." See attached.

Any idea what I missed?
pvcreate -B /dev/rdsk/c8t0d0
mkboot /dev/rdsk/c8t0d0
mkboot -a hpux /dev/rdsk/c8t0d0
vgcreate...
lvcreate...
lvlnboot -b /dev/vg05/boot
etc

I'm in the middle of migrating the system from one storage array (scsi) to another (fc-sw).

Thanks in advance.
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: lvlnboot -b is not setting the boot logical volume

Hi Jordan:

The boot volume must be the first logical volume in the volume group and should be a contiguous with bad block relocation turned off.

Regards!

...JRF...
George Petrides_1
Honored Contributor

Re: lvlnboot -b is not setting the boot logical volume

There used to be a limitation that the boot area should be in the first physical 2GB of the disk. Also, did you create the boot volume as HFS, contiguous, etc? Check man lvlnboot. Also, is /dev/vg05/boot the first logical volume in the group? Why don't you try renaming it to lvol1, maybe a bug or something prevents you from using another name.
Hope this helps,
George
Jordan Bean
Honored Contributor

Re: lvlnboot -b is not setting the boot logical volume

Yes. It is first, strict/contiguous, and bad block is off... Any other ideas? When I tried to boot on this volume, IPL said /stand/vmunix was not found or executable, but it's an exact copy of the original via 'cd /stand && find . -xdev -depth | cpio -pdmux /new/stand)' Any other ideas?
Jordan Bean
Honored Contributor

Re: lvlnboot -b is not setting the boot logical volume

Well, I'm stumped. Attached is the script I used to create the vg this last time. Still no go with lvlnboot -b.
Jordan Bean
Honored Contributor

Re: lvlnboot -b is not setting the boot logical volume

I searched the patches for lvlnboot and PHCO_27913 gave me a clue... I had to remove the pvlinks first.

vgreduce /dev/vg05 /dev/dsk/c9t0d?
lvlnboot -b /dev/vg05/boot
vgextend /dev/vg05 /dev/dsk/c9t0d?
lvlnboot -v

Yeah!

Thanks anyway guys!