- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to remove a volume group which cannot be activ...
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
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
тАО01-03-2008 01:16 AM
тАО01-03-2008 01:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 01:19 AM
тАО01-03-2008 01:19 AM
Re: how to remove a volume group which cannot be activated
Otherwise use vgexport.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 01:21 AM
тАО01-03-2008 01:21 AM
Re: how to remove a volume group which cannot be activated
vgremove
vgremove is equivalent to the inverse of executing vgcreate for one
physical volume (see vgcreate(1M)).
Before removing a volume group, two steps are necessary:
1. Remove all the logical volumes belonging to the group by
using the lvremove command (see lvremove(1M)).
2. Remove all but one physical volume belonging to the volume
group by using the vgreduce command (see vgreduce(1M)).
Better overview:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
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
тАО01-03-2008 01:30 AM
тАО01-03-2008 01:30 AM
Re: how to remove a volume group which cannot be activated
vgremove require the volume to be activated...I cannot activate the volumen group, that's why vgremove cannot be used...
ps. the vg previously created to be used in serviceguard cluster..but after I deleted the cluster, the vg cannot be activated again..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 01:52 AM
тАО01-03-2008 01:52 AM
Re: how to remove a volume group which cannot be activated
Quorum not present, or some physical volumes are missing..
I used the command
"vgchange -a y -q n /dev/vgdatabase"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 03:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 05:29 AM
тАО01-03-2008 05:29 AM
Re: how to remove a volume group which cannot be activated
As noted, if you cannot activate the volume group in order to delete it, simply 'vgexport' it. To reuse the physical disks again, thereafter, you will need to perform a 'pvcreate -f' to obliterate the LVM header information that remains on it following the export.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2008 08:28 AM
тАО01-03-2008 08:28 AM
Re: how to remove a volume group which cannot be activated
Did you try
vgchange -c n /dev/vgXX
then try
vgchange -a y /dev/vgXX
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2008 03:46 AM
тАО01-04-2008 03:46 AM
Re: how to remove a volume group which cannot be activated
thay easiest way is:
vgexport of vg
rmdir -rf /dev/
pvremove of vg's disk
best regards