Operating System - HP-UX
1825795 Members
2284 Online
109687 Solutions
New Discussion

Re: lvlnboot -v not shown boot alternative device as Boot disk

 
Sanjay Shinde
Occasional Advisor

lvlnboot -v not shown boot alternative device as Boot disk

Hi guys,
OS : HP-UX 11.0, H/w : N class serve,
Problem :
Root volume group like lvol2,3,4,5,6,7,8 has been mrror without mkboot -a, because of that lvlnboot -v is not showing Boot disk for alternative disk ( mirror disk).
Also :-
while mirroring lvol1 error message
Logical volume "/dev/vg00/lvol1" has been successfully extended.
lvlnboot: LIF information corrupt or not present on "/dev/dsk/c2t6d0".
Use the "mkboot" command to initialize the LIF area.

lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/1.6.0)
Boot: lvol1 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c1t6d0, 0

I tried with mkboot /dev/rdsk/#### and
mkboot -a "hpux -lq" /dev/rdsk/c2t6d0 and use overwrite (y/n) : y
Also tried lvlnboot -R
all lvol showing mirror
but lvlnboot -v not showing alternative boot disk as above.

Any itea, other than removing disk from vg00 and recreate mknod and mirror all lvol1,2,3..8 ?

Thanks in advance,
Sanjay Shinde

Unix Sys. Admin.
9 REPLIES 9
James R. Ferguson
Acclaimed Contributor

Re: lvlnboot -v not shown boot alternative device as Boot disk

Hi Sanjay:

Did you 'pvcreate' specifying a bootable disk?

# pvcreate -B /dev/rdsk/cXtYdZ

I suggest that you break your mirrors, and build your disk again, beginning with the appropriate 'pvcreate -B' sequence.

Regards!

...JRF...
Jeff Schussele
Honored Contributor

Re: lvlnboot -v not shown boot alternative device as Boot disk

Hi Sanjay,

Did you use the -B option on the pvcreate command on the alt boot disk?
It's mandatory - it reserves the boot space.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
S.K. Chan
Honored Contributor

Re: lvlnboot -v not shown boot alternative device as Boot disk

Did you update the BDRA ?

# lvlnboot -r /dev/vg00/ /dev/vg00
# lvlnboot -b /dev/vg00/ /dev/vg00
# lvlnboot -s /dev/vg00/ /dev/vg00
# lvlnboot -d /dev/vg00/ /dev/vg00

root=/, boot=/stand, primary swap and dump is the same LV.

Sandip Ghosh
Honored Contributor

Re: lvlnboot -v not shown boot alternative device as Boot disk

Sanjay,

Why don't you start fresh? Break out all the mirror, take out the disk from the vg00.
Do pvcreate -b on the disk and then perform mkboot and all other procedures to make the mirrored root disk.

Sandip
Good Luck!!!
Sandip Ghosh
Honored Contributor

Re: lvlnboot -v not shown boot alternative device as Boot disk

Sorry , it should be pvcreate -B.

Sandip
Good Luck!!!
Sanjay Shinde
Occasional Advisor

Re: lvlnboot -v not shown boot alternative device as Boot disk

As this box is install using ignite tape from Ingite tape of same hardware machine,but different size root disk 9GB and 18 GB and I am not sure about pvcreate -B, but when I try
lvlnboot -r /dev/vg00/lvol1
lvlnboot: Physical Volume "/dev/dsk/c2t6d0" on which Logical
Volume "/dev/vg00/lvol1" resides is not a Boot Physical Volume.

So need to recreate all using
vgreduce /dev/vg00 /dev/dsk/c2t6d0
pvcreate -B
vgextend
mknod
and Mirror all lvol's

Thanks for evryone who reply.
Sanjay

Unix Sys. Admin.
Sanjay_6
Honored Contributor

Re: lvlnboot -v not shown boot alternative device as Boot disk

Hi,

try,

mkboot -l /dev/rdsk/cxtydz
mkboot -a "hpux -lq (;0)/stand/vmunic" /dev/rdsk/cxtydz

lvlnboot -v /dev/vg00

Hope this helps.

Regds
Sandip Ghosh
Honored Contributor

Re: lvlnboot -v not shown boot alternative device as Boot disk

It happens, because Ignite doesn't support the mirroring . You have to do everything seperately.

Sandip
Good Luck!!!
Martin Johnson
Honored Contributor

Re: lvlnboot -v not shown boot alternative device as Boot disk

You are correct, Ignite doesn't support bootable mirrored disks. You have to do it manually.


Marty