Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't importvg

Status
Not open for further replies.

risc6k

Technical User
Jul 23, 2001
47
KR
Howdy!
I got a problem of importvg in SPnode.
when i excuted importvg command, occured error message.

516-052 varyonvg: Volume group cannot be varied on without a
quorum. More physical volumes in the group must be active.
Run diagnostics on inactive PVs.
PV Status: hdisk18 00007867b28f406b INVPVID
hdisk40 00007867b28f73ab INVPVID
000b2a7dc2bd3f30 NONAME
000962060da3fe34 NONAME
0516-780 importvg: Unable to import volume group from hdisk18.

#lqueryvg -Atp hdisk18 --> PVID is 000b2a7dc2bd3f30
#lquerypv -h /dev/hdisk18 --> PVID is 00007867b28f406b
#lspv |grep hdisk18 --> PVID is 00007867b28f406b

I guess it's difference PVID problem between them
How can i resolve this problem?
How can i match PVID between them?
I already excuted a lot of commands
help me!
thanks & regards







 
What do you get with...

lqueryvg -p hdisk18 -v

Otherwise you could use...

lvaryonvg -a VGNAME -V MAJORNUMBER -g VGID -fr FILENAME

...where FILENAME lists the names of the physical volumes - these can be supplied via stdin or via file (one PV name per line).

The -f will force the VG online even without a quorum - just beware that data inconsistency can result of this.

Hope it helps.

Dave Vickers.
 
Just to add to my previous note...

it would appear that you have four physical volumes within your volume group - you could check by using...

lqueryvg -p PVNAME -c

With four PV's, one of the PV's must contain 2x VGDA's - so you could check out and try and find the one that contains the 2 VGDA's - this would then give you a quorum as you'd have 3 VGDA's out of the 5.

To check the number of VGDA's on a PV...

lquerypv -p PVID -D


Once you've got that use the importvg command specifying the major number and VG name.

importvg -V MAJNUM -y VGNAME PVNAME

Cheers.
Dave V.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top