1832487 Members
4429 Online
110043 Solutions
New Discussion

Rebuilding VG00 Mirror

 
SOLVED
Go to solution
Tommy Brown
Respected Contributor

Rebuilding VG00 Mirror

Hi, I had my systems mirrored and bootable of the mirror. However, since Y@K testing, I have not been able to restore the mirror. What happened???
We recovered the systems with Ignite, which did not carry over the mirror. When I try to recreate the mirror, all goes well until I mirror the Lvols, at which time a get a message that states: "LIF information corrupt or not present. c3t5d0. Use the MKBOOT comand to initialize the LIF area. I have recreated several times and cannot get past this point. I have been using an HP "Cookbook" to perfrom this procedure. I have a question. should I "dd" the /dev/vg00 after I remove all mirrors to remove any prior "trace" of usage???
Thanks,
Tommy

 

P.S. This thread has been moved from Disk to HP-UX > LVM and VxVM. -HP Forum Moderator

I may be slow, but I get there !
7 REPLIES 7
Victor BERRIDGE
Honored Contributor

Re: Rebuilding VG00 Mirror

Hi Tommy,
Try mkboot -l /dev/rdsk/cXd0s2 # X your disk value
thrn
#mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/cXd0s2

Good luck
Victor
Victor BERRIDGE
Honored Contributor

Re: Rebuilding VG00 Mirror

Sorry, was disturbed...

Then
#vgextend /dev/vg00 /dev/dsk/cXd0s2
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cXd0s2
etc...
and finally
#lvlnboot -r /dev/vg00/lvol1
#lvlnboot -s /dev/vg00/lvol2
#vgcfgbackup vg00

Good luck
Victor
Victor BERRIDGE
Honored Contributor

Re: Rebuilding VG00 Mirror

Forgot..
Did you do a pvcreate:
#pvcreate -B /dev/rdsk/cXd0s2
Before?
This is how you should have started...
Victor BERRIDGE
Honored Contributor
Solution

Re: Rebuilding VG00 Mirror

Tommy I dont know what to suggest because I remembered doing a few times a dd for fun but once I fell on a stale system...
I also had to change the tome for Y2K purpose on some systems (though they had time machine installed, they didnt trust the results...)
but I then split the mirror and let them work with one copy and synced after using the disk that stayed 1999 dated.
I suppose the best is to start from scratch or to use your make_recovery but before invert your disks => install on you 2nd disk using make_recovery
Tell me how things go
Best of all
Victor
Tommy Brown
Respected Contributor

Re: Rebuilding VG00 Mirror

Thanks, Victor, I am mirroring one system while I am waiting on responses from the Forum. I have the procedures as you have listed them, It usually returned an error, I am trying to find where it occurred.
Tommy
I may be slow, but I get there !
Tommy Brown
Respected Contributor

Re: Rebuilding VG00 Mirror

Thanks, Victor, I performed the same steps you provide, this time it Worked!!
I must have really had some I/O errors in my fingers and eyes last time..I even had typed my intro message for the dd command /dev/vg00 , when I meant the /dev/rdsk/c3t6d0.. good thing I didn't try that..
Thanks
Tommy
I may be slow, but I get there !
Anthony_4
Advisor

Re: Rebuilding VG00 Mirror

Hi, you'd better split the mirror and re-mirror vg00 after recoverying from ignite. I did this for several times without any problem.
Good luck!
Tony