- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- getting rid of a 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
тАО03-11-2008 11:36 AM
тАО03-11-2008 11:36 AM
getting rid of a volume group
Let me know what u think about it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 11:41 AM
тАО03-11-2008 11:41 AM
Re: getting rid of a volume group
Umount the filesystems, vgchange -a n the volume group and vgexport the volume group.
# umount /filesystem
# vgchange -a n /dev/vgxx
# vgexport /dev/vgxx
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 12:04 PM
тАО03-11-2008 12:04 PM
Re: getting rid of a volume group
vgdisplay -v
Also, just in case you ever wanted to rebuild that exact volume group again....
vgexport -p -s -m mapfile.date.out -v /dev/vgname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 12:18 PM
тАО03-11-2008 12:18 PM
Re: getting rid of a volume group
Back up the data
remove all logical volumes with lvremove
vgexport (If you might want it back)
vgremove the 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
тАО03-11-2008 12:21 PM
тАО03-11-2008 12:21 PM
Re: getting rid of a volume group
vgdisplay -v vgname > vgname.date.out
Also, just in case you ever wanted to rebuild that exact volume group again....
vgexport -p -s -m mapfile.date.out -v /dev/vgname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 07:15 PM
тАО03-11-2008 07:15 PM
Re: getting rid of a volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 08:09 PM
тАО03-11-2008 08:09 PM
Re: getting rid of a volume group
Once vgexport is executed those disk can be used for other purposes, u might have to execute pvcreate -f on the disks which are free now so you won't face any issue at the time of vg creation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 08:24 PM
тАО03-11-2008 08:24 PM