- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Physical Volume not available, how to remove vg an...
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
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
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
10-03-2015 09:33 AM
10-03-2015 09:33 AM
Hi Guru,
I have issue when I tried to remove vg and lv. It is because the physical volume is no longer available. The disk was actually external hard drive. It was unplugged and has been formatted now.
When I do vgdisplay -v, it shows the vg is still available, lv still available but the physical volume is not available.
Is there any way to clean up all the vg and lv created in that disk ? I just want to remove vg and lv created in that disk.
Thank you very much.
Regards,
RK
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2015 09:33 AM
10-05-2015 09:33 AM
Re: Physical Volume not available, how to remove vg and lv
First, see if you can deactivate the VG with the VGchange command.
# vgchange -a n <vgname>
Once it has been deactivated you can then export the VG, which will blow everything away.
# vgexport <vgname>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2015 10:17 PM
10-14-2015 10:17 PM
Re: Physical Volume not available, how to remove vg and lv
Hi Patrick,
First of all thank you for your response. I've tried to deactivate the vg, but it wasn't work.
# vgchange -a n vgtest
vgchange: Couldn't deactivate volume group "vgtest":
Device busy
If you have any other suggestion .. I really appreciate it.
Thanks in advance.
Regards,
R Keane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2015 08:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2015 11:43 PM
11-05-2015 11:43 PM
Re: Physical Volume not available, how to remove vg and lv
Hi Sapoguheman,
pvchange works great. Now I can do vgchange then vgexport.
Thank you very much for your great help.
Regards,
R.Keane