1837850 Members
2894 Online
110121 Solutions
New Discussion

vgscan error

 
Carme Torca
Super Advisor

vgscan error

Hi,

I have three vg in the system:
vg00
c1t2d0
c2t2d0
vg02
/dev/dsk/c4t0d7 alternate link /dev/dsk/c6t0d7
vgias
/dev/dsk/c4t1d0 alternate link /dev/dsk/c6t1d0
But when I do and vgscan, it displays:

Verification of unique LVM disk id on each disk in the volume group /dev/vg02 failed.

Following are the sets of disks having identical LVM disk id /dev/dsk/c6t0d7 /dev/dsk/c4t2d0 /dev/dsk/c6t2d0

And the lvmtab, don't create vg02.
What's is wrong?
Thanks,
Carmen.

Users are not too bad ;-)
7 REPLIES 7
Michael Tully
Honored Contributor

Re: vgscan error

Hi Carmwn,

Please post a copy of:

# vgdisplay -v /dev/vg02
and
# ioscan -fnC disk

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome."
Anyone for a Mutiny ?
Karthik S S
Honored Contributor

Re: vgscan error

Hi,

try to do a vgimport,

vgimport -A y vg02 /dev/dsk/c4t0d7

Regards,
Karthik
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Carme Torca
Super Advisor

Re: vgscan error

 
Users are not too bad ;-)
Zeev Schultz
Honored Contributor

Re: vgscan error

Ok,from vgdisplay can be seen only 1 PV
with alternative link.Vgscan probably found
the same VG_ID on /dev/dsk/c4t2d0 & c6t2d0.
That can be due to BC feature of EMC and should
run vgchgid.
Another thing is NO_HW state of 3 luns (as seen in the ioscan output).Would check this one too.
Vgreduce can be used to reduce pv alt links.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Bill McNAMARA_1
Honored Contributor

Re: vgscan error

vgscan is a dangerous tool when you have pvlinks (alt paths) use vgimport as suggested.
It works for me (tm)
Eugeny Brychkov
Honored Contributor

Re: vgscan error

This can happen if for some reason LVM disk contents were exactly copied to another disk. Thus when scanning vgscan can not resolve which disk is original and should be used and which should be discarded.
Please make sure if you did 'dd' from one LUN to another (LUNs #7 and #16 within EMC disk array) or made a business copy or LUN screenshou you've changed volume id using pvchgid (or something like this)
Eugeny
Carme Torca
Super Advisor

Re: vgscan error

Hi,
Then if I do:

vgchgid /dev/desk/c4t2d0 /dev/dsk/c6t2d0

I could resolv the problem?
This two disks c4t2d0 and c6t2d0 doesn't have one vg assigned.

Thanks.
Users are not too bad ;-)