- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trying to vgexport old Volume Group
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
тАО04-19-2004 06:51 AM
тАО04-19-2004 06:51 AM
Trying to vgexport old Volume Group
vgchange -a n /dev/vgtest
vgchange: Volume group "/dev/vgengserv" does not exist in the "/etc/lvmtab" file.
vgexport -v /dev/vgtest
vgexport: Couldn't export volume group "/dev/vgengserv".
Can I simply remove the directory /dev/vgengserv now?
Thanks for any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 06:57 AM
тАО04-19-2004 06:57 AM
Re: Trying to vgexport old Volume Group
If vgengserv shows up in your strings output and is not in use then vgexport it.
Also, it is possible that you have symbolic links between these two VG's but I'm betting on bad moinor device numbers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 06:57 AM
тАО04-19-2004 06:57 AM
Re: Trying to vgexport old Volume Group
Do a vgscan -pva and check if it gives any errors and do you get this vg in above command?
If yes rename old /etc/lvmtab to /etc/lvmtab.old and run vgscan -av
Once it is there, do vgchange -a y vgname and if OK then do vgexport.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 07:15 AM
тАО04-19-2004 07:15 AM
Re: Trying to vgexport old Volume Group
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
тАО04-19-2004 07:16 AM
тАО04-19-2004 07:16 AM
Re: Trying to vgexport old Volume Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 07:23 AM
тАО04-19-2004 07:23 AM
Re: Trying to vgexport old Volume Group
If not you just remove /dev/vgxx
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 07:28 AM
тАО04-19-2004 07:28 AM
Re: Trying to vgexport old Volume Group
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c38t15d2
/dev/dsk/c38t15d3
/dev/dsk/c38t15d4
/dev/dsk/c38t15d5
/dev/dsk/c38t15d6
/dev/dsk/c38t15d7
/dev/dsk/c39t15d2
/dev/dsk/c39t15d3
/dev/dsk/c39t15d4
/dev/dsk/c39t15d5
/dev/dsk/c39t15d6
/dev/dsk/c39t15d7
Does this mean I need more cleanup? In regards to the above text. This system has had a lot of creating and deleting of volume groups at one time on it.
Thanks in advance,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 07:31 AM
тАО04-19-2004 07:31 AM
Re: Trying to vgexport old Volume Group
There is a file vgengserv.conf
Do I simply remove this file and then rm /dev/vgengserv?
There are no file under /dev/vgengserv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 07:45 AM
тАО04-19-2004 07:45 AM
Re: Trying to vgexport old Volume Group
It is possible that you may be seeing the VG directory in the /dev directory, but the VG doesn't really exist on the system. If you do a strings /etc/lvmtab, is the VG listed over there. Is the VG listed if you do a vgdisplay -v. If not then it is more likely that the VG doesn't even exist on the system and you cannot vgexport it.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 07:52 AM
тАО04-19-2004 07:52 AM
Re: Trying to vgexport old Volume Group
Check what pvs it lists, then check if those pvs are being used in any of the vgs you have on system.(pvdisplay for each pv and then do vgdisplay for each vg and check for these pvs)
If pvs are used by some other vg, just remove /dev/vgxx, If not just remove /dev/vgxx.
Anil