1832595 Members
2779 Online
110043 Solutions
New Discussion

LVM: VG Wrong Disk!

 
Yvonne Butler
Regular Advisor

LVM: VG Wrong Disk!

I've just had a disk replaced in an FC10 disk array. The engineer ran the usual fcmsutil /dev/td* *x***** and the disk is showing as CLAIMED within the ioscan. However, when I run vgcfgrestore -n /dev/vgstage /dev/rdsk/c*t*d* I get a return of:

vgcfgrestore: Cannot restore Physical Volume "/dev/dsk/c*t*d*",
Detach the PV or deactivate the VG, before restoring the PV.

This volume group is part of a serviceguard cluster so I cannot diactivate the VG.

I'm also seeing these messages in the syslog.log:

Oct 26 13:58:39 odysec vmunix: LVM: VG 64 0x040000: PVLink 31 0x14a000 Wrong Disk!
Oct 26 13:58:39 odysec vmunix: LVM: VG 64 0x040000: PVLink 31 0x1ca000 Wrong Disk!

Any ideas anyone?
2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: LVM: VG Wrong Disk!

Now you know your system is patched to a current level!

See

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

You need to use

pvchange -a n ...

to prevent LVM access to the disk while replacing.

vgcfgrestore is only working if the disk access is deactivated.

See also

man pvchange

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!   
Yvonne Butler
Regular Advisor

Re: LVM: VG Wrong Disk!

Thank you Torsten, the pvchange -a N .... has fixed the problem and its now resyncing. Thanks very much....