1834020 Members
2950 Online
110063 Solutions
New Discussion

vgsync not working

 
SOLVED
Go to solution
Ragesh V.K
New Member

vgsync not working

We have upgraded one of our servers from L2000 to L3000, and during upgrade we have taken out the root mirror disks as a faultback arrangement. Now after the upgrade I need to connect those disks (/dev/vg00/c101dt0d0 and /dev/vg00/c101t2d0) back and need to do the vgsync. But vgsysnc is giving I/o error.

I am attaching the ioscan output before and after the upgrade. Is this problem since the target id has been changed from 5&6 to 38&39?.. If yes, can somebody tell me how can I change it back to 5&6?..

Thanks & Regards
Ragesh
5 REPLIES 5
Helen French
Honored Contributor

Re: vgsync not working

Did you get any error when the VGs are activated? The sync will happen when the VGs get activated. You can also do this with vgsync command.

I would also check if you have the latest LVM and Mirror/UX patches installed.

Also, since your device files are the same (cxtydz), I wouldn't think the 38 and 39 will cause any issues.
Life is a promise, fulfill it!
Ragesh V.K
New Member

Re: vgsync not working


We have connected the disks online. Its a root VG and was already on, and there was no error while booting except that the pvols are not present.

Regards
Ragesh.

Helen French
Honored Contributor

Re: vgsync not working

Ragesh =)) (Do I know you?)

What's the output of vgdisplay and lvdisplay -v? Does any PEs shows as "stale"? Could you check the disk with "stm" or "dd" command just to make sure that the disk has no physical error?
Life is a promise, fulfill it!
Chris Watkins_1
Respected Contributor
Solution

Re: vgsync not working

This should work nicely:
(Where cXtXdX is the drive in question)

vgcfgrestore -n /dev/vg00 /dev/dsk/cXtXdX
vgchange -a y /dev/vg00 (yes, even though it's active already)
mkboot /dev/rdsk/cXtXdX
mkboot -a "hpux -lq (0;) /stand/vmunix" /dev/dsk/cXtXdX
vgsync

Of course you can lifls your existing drive to check what
other things you may want to lifcp to the new drive.
(ODE, for example.)
All that you really need are ISL/AUTO/HPUX/PAD/LABEL.
Not without 2 backups and an Ignite image!
Ragesh V.K
New Member

Re: vgsync not working

Chris,

Its working... Thanks..

Shiju, Thanks for your help too... And you you know me very well...

Regards
Ragesh.