1834150 Members
1895 Online
110064 Solutions
New Discussion

Re: disk mirror problems

 
SOLVED
Go to solution
Steve Coates
Frequent Advisor

disk mirror problems

I am trying to mirror the root disk on my rp8400 running 11.11

I have done the mkboot on the disk and I can mirror lvol1 but as soon as I try to mirror lvol2 I get:

lvlnboot: LIF information corrupt or not present on "/dev/dsk/c4t6d0". Use the "mkboot" command to initialize the LIF area.

Thanks for any help

Steve
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: disk mirror problems

Steve,

Just to make sure, did you:

pvcreate -B /dev/dsk/c1t6d0
vgextend /dev/vg00 /dev/dsk/c1t6d0
mkboot /dev/rdsk/c1t6d0
mkboot -a "hpux -lq" /dev/rdsk/c1t6d0


before lvextending?

Did lvol1 extend OK?


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: disk mirror problems

Hi Steve:

The process should begin with:

# pvcreate ???B /dev/rdsk/cXtYdZ
# vgextend /dev/vg00 /dev/dsk/cXtYdZ
# mkboot /dev/rdsk/cXtYdZ
# mkboot ???a ???hpux ???lq??? /dev/rdsk/cXtYdZ

Regards!

...JRF...
Jeff Schussele
Honored Contributor
Solution

Re: disk mirror problems

Hi Steve,

You need at least three steps for root/boot mirror

1) pvcreate -B /dev/rdsk/c4t6d0
2) mkboot -l /dev/rdsk/c4t6d0
3) mkboot -a "hpux -lq" /dev/rdsk/c4t6d0

I suspect you forgot to reserve the boot area with the pvcreate -B command.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Patrick Wallek
Honored Contributor

Re: disk mirror problems

Did you go through all of these steps:

# pvcreate -B /dev/rdsk/c?t?d?
# vgextend /dev/vg00 /dev/dsk/c?t?d?
# mkboot /dev/rdsk/c?t?d?
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c?t?d?
# lvextend -m 1 /dev/vg00/lvol? /dev/dsk/c?t?d?

The 'pvcreate -B' is the first major step. That establishes the area for the boot information to get written on the disk.
Massimo Bianchi
Honored Contributor

Re: disk mirror problems

Hi,
to create a booable disk:

- export the disk from vg00, using vgreduce

- pvcreate -f -B /dev/dsk/csds

"-B" this will reserve space for LIF information

"-f" force operation, because you have initialized it already one time

- vgextend vg00 /dev/dsk/csds

- mkboot /dev/dsk/csds

copies the LIF utility

- mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/csds

this will put the lif string.

"hpux -lq" is used to let the system go up, if one of the two disks are missing


- check the lif on your first disk


"lifcp /dev/dsk/csds:AUTO -"

pay attention to the minus!

this will print to stdout the lif string, if it is not the same as the one suggested, recreate it:

- mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/csds



Verify all settings with

lvlnboot -v

- mirror the lvol IN THE SAME ORDER !!

to check the proper order,
do a pvdisplay -v /dev/dsk/csdsss | more




HTH,
Massimo

Steve Coates
Frequent Advisor

Re: disk mirror problems

Thanks for the fast response.

Jeff Schussele called it when he mentioned that I probably forgot to reserve the boot space on the disk.

I have been away from HPUX for a few years. Have a few things to relearn.

Thanks all
Steve