- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgdisplay errors
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
Forums
Discussions
Discussions
Discussions
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
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
10-02-2001 09:03 AM
10-02-2001 09:03 AM
vgdisplay errors
No such file or directory vgdisplay: Cannot display volume group ?/dev/vg31?.
How can I remove this 'ghost' image of the non-existant volume group?
Thanks in advance again,
Joe Robinson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 09:11 AM
10-02-2001 09:11 AM
Re: vgdisplay errors
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 09:13 AM
10-02-2001 09:13 AM
Re: vgdisplay errors
# vgexport /dev/vg31
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 09:32 AM
10-02-2001 09:32 AM
Re: vgdisplay errors
Export it out.
#vgexport /dev/vg31
Thanks
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 09:46 AM
10-02-2001 09:46 AM
Re: vgdisplay errors
IF the volume group is active on your system, first disable it,
vgchange -a n /dev/vg_name
then to remove it completely from your system
vgexport /dev/vg_name
If there are any references of this vg in /etc/fstab, delete the same.
That should be all. Hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 10:13 AM
10-02-2001 10:13 AM
Re: vgdisplay errors
none of the commands I'm looking at in the SA commands book seem to be able to recognize the commands. Looking further, I'd thought of recreating the vg on another disk, however I don't have any unused disks that I can create the vg on. Suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 10:22 AM
10-02-2001 10:22 AM
Re: vgdisplay errors
if everything(!) is removed of that VG, you can rename /etc/lvmtab and execute 'vgscan -a'.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 10:22 AM
10-02-2001 10:22 AM
Re: vgdisplay errors
How did you remove the VG from the system originally? It sounds like you just removed the /dev/VGNAME files(?).
Do you see the VG if you do a strings on /etc/lvmtab?
If so, then recreate the VG:
mkdir /dev/VGNAME
mknod /dev/VGNAME/group c 64 0x0nn0000
vgcreate /dev/VGNAME
then if you want to get rid of the VG,
do a:
vgexport VGNAME
If the VG is not listed in /etc/lvmtab, then try doing a vgscan to try to rebuild the VG. Hope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 10:23 AM
10-02-2001 10:23 AM
Re: vgdisplay errors
vgdisplay -v > /tmp/vgdis.before
mv /etc/lvmtab /etc/lvmtab.bak
vgscan
vgdisplay -v > /tmp/vgdis.after
vgscan will rebuild you lvmtab. If you have devices with alternate paths, you will probably have to readd the alternate paths. Check the differences in the before and after files.
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 10:24 AM
10-02-2001 10:24 AM
Re: vgdisplay errors
If you wish to look at your lvmtab,
strings /etc/lvmtab
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 10:25 AM
10-02-2001 10:25 AM
Re: vgdisplay errors
# mkdir /dev/vg31
# mknod /dev/vg31/group c 64 x??0000 --->where ?? is a unique minor # for this VG.
Then do:
# vgexport /dev/vg31
That should work for you.
Hopefully!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 11:10 AM
10-02-2001 11:10 AM
Re: vgdisplay errors
I'd thought to simply do mknod, however the physical disk I was using is no longer on the system, therefore I anticipate I'd get 'no such device or address'.
right now we're in the midst of rolling over from one budget year to the next, so I'm not inclined to do anything that would endanger production on the system, but would anticipate that I'll rename the lvmtab and perform a vgscan to see if that will clear the problem. My question is still this, however: if there is no indication of the vg in either the fstab or lvmtab, where is vgdisplay looking to identify this vg on my system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 11:34 AM
10-02-2001 11:34 AM
Re: vgdisplay errors
Have you tried "strings /etc/lvmtab" to see if there is any reference to the missing vg in that file.
Just a thought.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 12:36 PM
10-02-2001 12:36 PM
Re: vgdisplay errors
You can also do "vgscan -v -p" to do a preview of the create to see if this will remove the entries for the "problem" VG. Once comfortable that it's removed, do it for real (without -p) after you've renamed the current lvmtab.
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 02:55 PM
10-04-2001 02:55 PM
Re: vgdisplay errors
- The first thing that you should know is the quantity of logical volumes you have in VG to care
the above-mentioned to be able to execute with success the vgimport
- I pass two it is to make the following steps
mkdir /dev/VGNAME
mknod /dev/VGNAME/group c 64 0x0nn0000
vgimport -m /tmp/vgfile -v /dev/vgname /dev/dsk/cxtxdx
The file vgfile can generate it manually and it should contain the following thing according to the quantity of lvols that you had in the VG.
#cat /tmp/vginfo
lvol1
lvol2
lvol3 etc...
vgchange -a and vg01
The file /etc/lvmtab is not necessary to generate it again because when the vgimport this file is executed it is upgraded.
After this to carry out a fsck for each lvol and to verify the consistency of the filesystem