- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot export volume group without entry in /e...
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
07-26-2002 10:22 PM
07-26-2002 10:22 PM
I am attempting to destroy a volume group using vgexport. The volume group does not have an entry in /etc/lvmtab. When I attempt to vgexport the volume group I receive the following error:
vgexport: Volume group "/dev/vgNN" does not exist in the "/etc/lvmtab" file.
vgexport: Couldn't export volume group "/dev/vgNN".
I need to export this volume group before I can re-import a new mapfile (with additional LVs) in its place. It Does anyone have any suggestions on how to get past this?
I have read a couple notes about re-building the /etc/lvmtab with a vgscan -v. Would this add back the volume group entry that is missing?
Any help would be greatly appreciated. Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 10:57 PM
07-26-2002 10:57 PM
Re: Cannot export volume group without entry in /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 11:59 PM
07-26-2002 11:59 PM
Re: Cannot export volume group without entry in /etc/lvmtab
1 lvol1
2 lvol2
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2002 12:03 AM
07-27-2002 12:03 AM
Re: Cannot export volume group without entry in /etc/lvmtab
2. How about using "vgreduce and vgremove" to achieve your task?
-Gerald-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2002 01:33 AM
07-27-2002 01:33 AM
Re: Cannot export volume group without entry in /etc/lvmtab
I ran a 'vgscan -a -v' and created a new /etc/lvmtab. This didn't fix my problem. The volume group (and associated disks) I want to replace does not show up in the /etc/lvmtab. Is there any way I can manually remove my /dev/vgNN from /dev with the following steps:
1) # cd /dev/vgNN
2) # rm -R * (to remove the 'group')
3) # cd ../
4) # rmdir vgNN
5) # vgimport -m vgNN.mapfile -v /dev/vgNN /dev/dsk/ctd
(where vgNN.mapfile is the mapfile I want to move in)
Is this a valid option to export a volume group? If so, is there anything else I need to do or watch out for?
Any other suggestions are welcome!
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2002 02:16 AM
07-27-2002 02:16 AM
Re: Cannot export volume group without entry in /etc/lvmtab
4)
5) mkdir /dev/vgNN
6) mknod /dev/vgNN/group c 64 0xNN00
THEN
7) vgimport -m vgNN.mapfile -v /dev/vgNN /dev/dsk/ctd
Sorry for the confusion!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2002 03:14 AM
07-27-2002 03:14 AM
Solutione.g. mknod /dev/vg05/group c 64 0x050000 - 0x050000 should not be used anywhere else. By convention, vg05 uses 0x050000, vg02 uses 0x020000, etc. but that is not required (or may not be possible if already in use).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2002 09:50 AM
07-27-2002 09:50 AM
Re: Cannot export volume group without entry in /etc/lvmtab
Thanks everyone for your input.