Operating System - HP-UX
1833274 Members
3250 Online
110051 Solutions
New Discussion

Re: error in Volume Group minor number

 
SOLVED
Go to solution
jpcast_real
Regular Advisor

error in Volume Group minor number

I have a SAN with 4 filesystems . When making vgdipslay -v vg00 I get:

Aramis:/var/adm/syslog> vgdisplay -v vg00
vgdisplay: Couldn't query volume group "vg00".
Possible error in the Volume Group minor number; Please check and make sure the group minor number is unique.
vgdisplay: Cannot display volume group "vg00".

I have recreated lvmtab with vgscan but nothing has changed . I have exported other vgs apart from vg00 , recreated lvmtab and rebooted but nothing has changed.

Aramis:/var/adm/syslog> strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0

Ioscan does not show any HW problem and kernel maxvgs is 10... What can be happening. Do I have to start up in maintenance mode and recreate vg00???
Here rests one who was not what he wanted and didn't want what he was
11 REPLIES 11
Robert-Jan Goossens
Honored Contributor

Re: error in Volume Group minor number

Hi Javier,

Could you cut and past the output from

# ll /dev/*/group

Robert-Jan
Jeff Schussele
Honored Contributor

Re: error in Volume Group minor number

Hi Javier,

Do you have or have ever had MC/SG (Service Guard) on this system? Are you using it now?

If not remove the following file

/dev/slvmvg

You'll note that is has the same major/minor numbers as /dev/vg00/group

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Robert-Jan Goossens
Honored Contributor

Re: error in Volume Group minor number

Jeff can you read my mind :-)

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=542476

Kind regards,
Robert-Jan
Jeff Schussele
Honored Contributor

Re: error in Volume Group minor number

Hi R-J,

LOL - It seems like this one pops up every month or two. Heck it's even happened to me.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
jpcast_real
Regular Advisor

Re: error in Volume Group minor number

Aramis:/dev> find . -exec ll {} \; | grep 0x000000 | grep 64
crw-r--r-- 1 root sys 64 0x000000 Apr 13 16:37 group
crw-r--r-- 1 root sys 64 0x000000 Apr 13 16:37 ./vg00/group
Aramis:/dev> ll /dev/vg00/group
crw-r--r-- 1 root sys 64 0x000000 Apr 13 16:37 /dev/vg00/group
Aramis:/dev> strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Aramis:/dev> vgdisplay -v vg00
vgdisplay: Couldn't query volume group "vg00".
Possible error in the Volume Group minor number; Please check and make sure the group minor number is unique.
vgdisplay: Cannot display volume group "vg00".
Here rests one who was not what he wanted and didn't want what he was
jpcast_real
Regular Advisor

Re: error in Volume Group minor number

I do not have any /dev/slvmvg in my system . No SG daemon is running there
Here rests one who was not what he wanted and didn't want what he was
Sanjay_6
Honored Contributor
Solution

Re: error in Volume Group minor number

jpcast_real
Regular Advisor

Re: error in Volume Group minor number

Sanjay

Your answer has been really perfect . It was solved with the first link...

Thanks..
Here rests one who was not what he wanted and didn't want what he was
Sanjay_6
Honored Contributor

Re: error in Volume Group minor number

Glad to hear that. Thanks for the feedback.

Regds
Sanjay
Jeff Schussele
Honored Contributor

Re: error in Volume Group minor number

Hi Javier,

Moral of the story:

Always rm or mv lvmtab before a vgscan because vgscan will use the existing info in lvmtab for that scan & duplicate any existing problems.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
jpcast_real
Regular Advisor

Re: error in Volume Group minor number

You are right Jeff , "cp" is not the same as "mv" . This are the things one must never forget but always forget.

Again , forum guys are great

Here rests one who was not what he wanted and didn't want what he was