- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to remove un unused 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
тАО08-18-2010 06:11 AM
тАО08-18-2010 06:11 AM
I try to get rid of vg01:
# string /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/vg01
/dev/dsk/c2t2d0
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -v
...
The Volume Group /dev/vg01 was not matched with any physical Volumes.
# string /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
How should I now proceed to get rid of /dev/vg01 completly, and not only from lvmtab?
HP-UX 11i on L2000 servers.
Best regards
Lars Bylander
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2010 06:14 AM
тАО08-18-2010 06:14 AM
Re: How to remove un unused volume group
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2010 06:20 AM
тАО08-18-2010 06:20 AM
Re: How to remove un unused volume group
# vgexport -p -v /dev/vg01
Beginning the export process on Volume Group "/dev/vg01".
vgexport: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.
vgexport: Couldn't export volume group "/dev/vg01".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2010 06:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2010 11:40 AM
тАО08-18-2010 11:40 AM
Re: How to remove un unused volume group
# cp -p lvmtab.old lvmtab
# vgexport -v /dev/vg01
Beginning the export process on Volume Group "/dev/vg01".
/dev/dsk/c2t2d0
Volume group "/dev/vg01" has been successfully removed.
But still the directory /etc/lvmconf contains vg01 related files, how should those be removed?
# ls lvmconf
lvm_lock vg00.conf.old vg01.conf vg01.mapfile
vg00.conf vg00.mapfile vg01.conf.old
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2010 10:22 PM
тАО08-18-2010 10:22 PM
Re: How to remove un unused volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2010 10:41 PM
тАО08-18-2010 10:41 PM
Re: How to remove un unused volume group
/Lars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2010 10:42 PM
тАО08-18-2010 10:42 PM