1829087 Members
2417 Online
109986 Solutions
New Discussion

vgdisplay problem

 
SOLVED
Go to solution
Shah Gaurang B.
Frequent Advisor

vgdisplay problem

Hi Friends,

When i am trying to see volume group vg00 information through vgdisplay command it gives error
vgdisplay: Couldn't query volume group "/dev/vg00".
Possible error in the Volume Group minor number; Please check and make sure the.
vgdisplay: Cannot display volume group "/dev/vg00".

How to solved this problem?

5 REPLIES 5
Mridul Shrivastava
Honored Contributor

Re: vgdisplay problem

Please check the group file under /dev/vg00 directory.It should have minor no. like the following example:
crw-r--r-- 1 root sys 64 0x000000 Jan 19 02:29 group

It might be missing or its minor number is changed. so I will request u to remove the group file if its not showing the output as above example.
Then execute this command to recreate the same:
#mknod group c 64 0x000000
This will resolve the issue.
Time has a wonderful way of weeding out the trivial
Shah Gaurang B.
Frequent Advisor

Re: vgdisplay problem

thanks for reply , but this file i already check it seems fine and eventhough i tried to recreate it by renaming old one but it gives error of file already exist.
Mridul Shrivastava
Honored Contributor
Solution

Re: vgdisplay problem

If that is not working then I would suggest you to do the following:

# mv /etc/lvmtab /etc/lvmtab.save

# vgscan -v

# vgchange -a y vg00

# vgdisplay vg00

This may be because of the information discrepency of VGID in lvmtab and configuration files so above commands will solve the issue.
Pls provide feedback once u r done with this.
Time has a wonderful way of weeding out the trivial
Shah Gaurang B.
Frequent Advisor

Re: vgdisplay problem

Thanks mridul ,
it's working. problem is solved.

thanks once again
Mridul Shrivastava
Honored Contributor

Re: vgdisplay problem

ur welcome....
Since the issue is resolved I would request you to close the thread and rate the answers also whenever u get time...
Time has a wonderful way of weeding out the trivial