- 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
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
тАО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...