1753816 Members
8679 Online
108805 Solutions
New Discussion юеВ

I can't operate the vgoo

 
rolex_2
Occasional Advisor

I can't operate the vgoo

when i use vgdisplay or lvextend command, i encount the error like below:

vgdisplay: Couldn't query volume group "/dev/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 "/dev/vg00".

what should i do to resolve it?
btw:
the information about the vg00 is :

# cd /dev/vg00
# ls -l
total 0
crw-r----- 1 root sys 64 0x000000 Jun 6 2003 group
brw-r----- 1 root sys 64 0x000001 Jun 6 2003 lvol1
brw-r----- 1 root sys 64 0x000002 Jun 6 2003 lvol2
brw-r----- 1 root sys 64 0x000003 Jun 6 2003 lvol3
brw-r----- 1 root sys 64 0x000004 Jun 6 2003 lvol4
brw-r----- 1 root sys 64 0x000005 Jun 6 2003 lvol5
brw-r----- 1 root sys 64 0x000006 Jun 6 2003 lvol6
brw-r----- 1 root sys 64 0x000007 Jun 6 2003 lvol7
brw-r----- 1 root sys 64 0x000008 Jun 6 2003 lvol8
crw-r----- 1 root sys 64 0x000001 Jun 6 2003 rlvol1
crw-r----- 1 root sys 64 0x000002 Jun 6 2003 rlvol2
crw-r----- 1 root sys 64 0x000003 Jun 6 2003 rlvol3
crw-r----- 1 root sys 64 0x000004 Jun 6 2003 rlvol4
crw-r----- 1 root sys 64 0x000005 Jun 6 2003 rlvol5
crw-r----- 1 root sys 64 0x000006 Jun 6 2003 rlvol6
crw-r----- 1 root sys 64 0x000007 Jun 6 2003 rlvol7
crw-r----- 1 root sys 64 0x000008 Jun 6 2003 rlvol8
#

11 REPLIES 11
Ian Dennison_1
Honored Contributor

Re: I can't operate the vgoo

Can you list a 'll /dev/vg*/group'? It sounds like vg00 is not unique.

Cheers, Ian
Building a dumber user
Caesar_3
Esteemed Contributor

Re: I can't operate the vgoo

Hello!

Check in the /dev if you have another
device like the group you have in /dev/vg00
with the same major & minor numbers.

Caesar
melvyn burnard
Honored Contributor

Re: I can't operate the vgoo

you may also have a corrupt /etc/lvmtab
do strings on it and post the output
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Tim Adamson_1
Honored Contributor

Re: I can't operate the vgoo

You have a group file with the same minor number.

cd /dev
find . -name group -exec ls -l {} \;

That will list all the group files. If you have another one that has the same minor number as vg00 (ie, 0x000000) then you have found the cause.

Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Massimo Bianchi
Honored Contributor

Re: I can't operate the vgoo

Hi,
check also if you have a
/dev/slvmpvg with minor 0x000000

On some system it exists and can cause problems...

Try moving it and re-issuing the problem.

HTH,
Massimo
Sunil Sharma_1
Honored Contributor

Re: I can't operate the vgoo

Hi,
yor error says that you have two group file with same major and minor number.
you can do ll group* so you can see major and minor number of all group file.
it should not be same for any two files.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
rolex_2
Occasional Advisor

Re: I can't operate the vgoo

I have try this:

1.
# cd /etc
# strings lvmtab
/dev/vg00
/dev/dsk/c1t2d0
2.
# cd /dev
# find . -name group -exec ls -l {} \;
crw-r----- 1 root sys 64 0x000000 Jun 6 2003 ./vg00/group

3.
# cd /dev
# ll | grep 0x000000
crw-r--r-- 1 root sys 69 0x000000 Apr 23 13:50 config
crw--w--w- 1 root tty 0 0x000000 May 22 03:46 console
crw------- 1 bin bin 232 0x000000 Jun 6 2003 diag2
crw-rw-rw- 1 root sys 119 0x000000 Jun 6 2003 dlpi0
crw------- 1 bin bin 27 0x000000 Jun 6 2003 dmem
crw------- 1 root root 196 0x000000 May 21 22:41 eeprom
crw-r--r-- 1 root other 227 0x000000 Jun 6 2003 kepd
crw------- 1 bin bin 189 0x000000 Jun 6 2003 klog
crw------- 1 root root 245 0x000000 May 21 22:41 lan0
crw-r----- 1 bin sys 3 0x000000 Apr 23 13:50 mem
crw-r--r-- 1 bin bin 46 0x000000 Jun 6 2003 nettrace
crw-rw-rw- 2 bin tty 16 0x000000 Jun 6 2003 ptyp0
crw--w--w- 2 bin bin 0 0x000000 Jun 6 2003 syscon
crw--w--w- 2 bin bin 0 0x000000 Jun 6 2003 systty
crw-rw-rw- 1 bin bin 207 0x000000 Jun 6 2003 tty
crw--w--w- 1 bin bin 1 0x000000 Jun 6 2003 tty0p0
crw-rw-rw- 2 bin tty 17 0x000000 Jun 6 2003 ttyp0
crw------- 1 root root 138 0x000000 May 21 22:41 tun0
#

I still cant't find any useful infomation about this problem.
Ian Dennison_1
Honored Contributor

Re: I can't operate the vgoo

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdf711012aa92d5118ff10090279cd0f9,00.html



Also try "vgscan -v -p".

Share and Enjoy! Ian
Building a dumber user
Suresh Patoria
Super Advisor

Re: I can't operate the vgoo

HI,

Try the following options

1.) vgchange -a y /dev/vg00

2.) check the your /etc/lvmtab file is there,

if not then create trough the vgscan -v -p command

After above step try to access the vg00