Operating System - HP-UX
1833750 Members
2700 Online
110063 Solutions
New Discussion

Re: Informational Error when creating mirror copies in LVM

 
GlennBroSitel
Occasional Advisor

Informational Error when creating mirror copies in LVM

lvextend -m 1 /dev/vg00/lvol1
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol1" has been successfully extended.
lvlnboot: LIF information corrupt or not present on "/dev/disk/disk3".
Use the "mkboot" command to initialize the LIF area.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

What is the best process to correct this error?

It does create the mirror but I assume I still need to correct the problem.
9 REPLIES 9
Adam W.
Valued Contributor

Re: Informational Error when creating mirror copies in LVM

I have attached the procedure I use for mirroring a root volume. Hope this helps.
There are two types of people in the world, Marines and those who wish they were.
Adam W.
Valued Contributor

Re: Informational Error when creating mirror copies in LVM

If I had to guess, I would guess you only did steps A, B, and F. I have never had any issues in the form I attached earlier.
There are two types of people in the world, Marines and those who wish they were.
Torsten.
Acclaimed Contributor

Re: Informational Error when creating mirror copies in LVM

Check the appendix

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

for the complete procedure on how to mirror a boot disk with 11.31!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
GlennBroSitel
Occasional Advisor

Re: Informational Error when creating mirror copies in LVM

Ok I only did a pvcreate and vgextend and then just started mirroring didn't realize there was other processes involved in creating a proper mirror for a boot volume.

Now assuming this do I have to remove the mirrors I created and drop the disk from the vg and redo the pvcreate?
Adam W.
Valued Contributor

Re: Informational Error when creating mirror copies in LVM

Yes. Remove them all and then follow the process completely just to be on the safe side.
There are two types of people in the world, Marines and those who wish they were.
James R. Ferguson
Acclaimed Contributor

Re: Informational Error when creating mirror copies in LVM

Hi:

> Now assuming this do I have to remove the mirrors I created and drop the disk from the vg and redo the pvcreate?

Yes, if you forgot to do a 'pvcreate -B' then certainly start over. Follow the guidelines in the appendix of the document that Torsten cited.

Regards!

...JRF...
sujit kumar singh
Honored Contributor

Re: Informational Error when creating mirror copies in LVM

if u had done the pvcreate -B earlier for tha disk , let the mirrored vols be there, U need not remove them or reduce mirriring, Simply use mkboot as follows:

1)assumimg that u have a PARISC system:
#mkboot -l /dev/rdsk/cxtydz
#mkboot -a "hpux /stand/vmunix -lq" /dev/rdsk/cxtydz

2)assuming that u are having an ITANIUM system u have to do the mkboot as follows:
#mkboot -e -l /dev/rdsk/cxtydz and also
#echo "boot vmunix -lq" >/tmp/AUTO
#efi_cp -d /dev/rdsk/cxtydzs1: -u /tmp/AUTO /EFI/HPUX/AUTO

in both the cases after this u have to run
#lvlnboot -R
#lvlnboot -v
#vi /stand/bootconf add the lines to this file asuming that the new disk is cxtydz
l /dev/dsk/cxtydz --- FOR PARISC
l /dev/dsk/cxtydzs2 --- for Itanium

I am assuming that if u have an Itanium server u have used idisk to create the 3 partitions on the disk namely

EFI --- OS shows this as /dev/dsk/cxtydzs1
HPUX and -- OS shows this as /dev/dsk/cxtydzs2
HPSP -- OS shows this as /dev/dsk/cxtydzs3


this all is valid if you had used earlier pvcreate -B option Earlier with the disk.

Or u will have to again do the pvcreate and start from the scratch.


Johnson Punniyalingam
Honored Contributor

Re: Informational Error when creating mirror copies in LVM

Hi Glenn,

>>It does create the mirror but I assume I still need to correct the problem.<<

Yes, You are right.

>>What is the best process to correct this error?<<

Please Check the attachment for Generic Procedure Creating mirror copies.

Thx,
Johnson
Problems are common to all, but attitude makes the difference
VK2COT
Honored Contributor

Re: Informational Error when creating mirror copies in LVM

Hello,

You got good answers already.

Me, being lazy to do manual work repeatedly,
and trying to avoid absent-mindedness,
wrote a Shell script to add and/or remove
mirroring in LVM for any HP-UX server
(including agile views in HP-UX 11.31):

http://www.circlingcycle.com.au/Unix-sources/HP-UX-11x-LVM-mirroring.sh.txt

The steps are really easy, but the problem is
to remember them always :)

Cheers,

VK2COT
VK2COT - Dusan Baljevic