- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgdisplay error: Couldn't query volume group "vg00...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 03:06 AM
тАО11-11-2003 03:06 AM
vgdisplay error: Couldn't query volume group "vg00"
One of our servers is showing the error (vgdisplay -v):
vgdisplay: Couldn't query volume group "vg00".
Possible error in the Volume Group minor number; Please check and make sure the group minor number i
s unique.
vgdisplay: Cannot display volume group "vg00".
If y recreate the lvmtab file:
mv /etc/lvmtab /etc/lvmtab.bak
vgscan -v
No vg00 is created, if i make a strings /etc/lvmtab, it shows:
/dev/
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/vgMDIF
/dev/dsk/c35t1d7
/dev/dsk/c35t2d0
...
/dev # ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Aug 21 14:55 /dev/vg00/group
crw-rw-r-- 1 root sys 64 0x030000 Nov 10 03:58 /dev/vgMDIF/group
The systems reboots normaly, but the problem is that we cant't create new lvols or do any operation with the volume group vg00.
Has anyone any idea?
Thanks in advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 03:09 AM
тАО11-11-2003 03:09 AM
Re: vgdisplay error: Couldn't query volume group "vg00"
I'd scan the entire /dev dir for any other possible major 64 / minor 0x000000 devices.
It may not be in a /dev/vg* dir.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 03:10 AM
тАО11-11-2003 03:10 AM
Re: vgdisplay error: Couldn't query volume group "vg00"
Its not responding so vg00 is not created with the vgscan -va command.
I had a similar problem recently.
I had to first identify the disk and then use the vgreduce -f /dev/dsk/c1t1d0
Then vgscan -va rebuilt the vg00 group.
How to find it.
mv /etc/lmvtab.back /etc/lvmtab
run the script I'm attaching. It should spot the bad disk and let you do the disk replacement followed by the steps above.
Sometimes the bad device isn't a disk. Ours was a disk array being detected and mistaken as a disk.
See attachment.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 03:12 AM
тАО11-11-2003 03:12 AM
Re: vgdisplay error: Couldn't query volume group "vg00"
try to get the latest LVM patch level for yout system. Ensure the following patches (or superseding) are installed:
PHKL_20419 - LVM Cumulative patch
PHCO_21630 - LVM commands cumulative patch
HTH,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 03:13 AM
тАО11-11-2003 03:13 AM
Re: vgdisplay error: Couldn't query volume group "vg00"
The fix listed in certified document ULVMKBRC00008020 is to do the following four steps:
# mv /etc/lvmtab /etc/lvmtab.save
# vgscan -v
# vgchange -a y vg00
# vgdisplay vg00
Also if you are running ServiceGuard, there may be an /dev/slvmvg file that exists and is causing the problem.
To resolve the errors:
1. Check to see if the /dev/slvmvg file exists:
# ll /dev/slvmvg
Note: If the file "does exist", then perform Steps
A, B, C, D, and E.
If the file "does not exist", perform Steps B, C, D,
and E. (do not perform Step A).
2. Perform the following commands:
A. # mv /dev/slvmvg /tmp
B. # mv /etc/lvmtab /etc/lvmtab.currentdate
C. # vgscan -v
D. # strings /etc/lvmtab
Note: This command verifies that everything is correct.
E. # vgchange -a y /dev/vg00
F. # vgdisplay -v /dev/vg00
If the above does not correct the issue, it may be necessary to vgexport and vgimport the volume group. But the above should take care of it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 03:17 AM
тАО11-11-2003 03:17 AM
Re: vgdisplay error: Couldn't query volume group "vg00"
-and-
/dev # ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Aug 21 14:55 /dev/vg00/group
There is an obvious conflict.
Please attach:
# lvlnboot -v | grep -i boot
Question is: What did you boot off of?
Also check for older /etc/lvmtabs and for the existence of vg00 in them:
# ll /etc/lvmtab*
Hopefully there is an older /etc/lvmtab.
Finally, check for 'vg00' in /etc/lvmconf/vg00.conf. If present then run:
# vgcfgrestore -f /etc/lvmconf/vg00.conf -l
...and verify the boot disks.
Here's a thread hit:
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xad338f960573d611abdb0090277a778c%2C00.html&admit=716493758+1068567267000+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 03:41 AM
тАО11-11-2003 03:41 AM
Re: vgdisplay error: Couldn't query volume group "vg00"
Try #ll /dev/*/group and see if it comes up with a conflicting number .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 03:43 AM
тАО11-11-2003 03:43 AM
Re: vgdisplay error: Couldn't query volume group "vg00"
Thanks for all your inputs so quickly.
Kent was in the right, there was a file:
/etc/slvmvg, i moved it and made a vgscan, all was fine.
Thanks.