- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VG is corrupt
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
06-03-2005 12:40 AM
06-03-2005 12:40 AM
I am trying to remove a VG called appsvg.
VGdisplay shows its as having only 1 PV however the Kernel thinks it has 2 I saw the message stating that as I was removing PV's from the VG.
Anyway i know want to remove the Vg completely and it wont go as it says there are too many PV's specified.
I am issuing vgremove appsvg and get the following message;
vgremove: Volume group "appsvg" still contains more than one physical volume.
vgremove: Couldn't remove volume group "appsvg"
vgdisplay shows:
trrips1# vgdisplay -v appsvg
--- Volume groups ---
VG Name /dev/appsvg
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 2170
VGDA 2
PE Size (Mbytes) 4
Total PE 1023
Alloc PE 0
Free PE 2046
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 1023
Free PE 1023
LVMTAB shows:
/dev/appsvg
/dev/dsk/c2t1d0
is there anyway to force the remove? Or how do I configure the kernel so there is only one PV left in the VG?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2005 12:44 AM
06-03-2005 12:44 AM
SolutionIf that does not work:
vgreduce -f /dev/appsvg
will get rid of it.
Follow the instructions displayed at the end of the command to insure you can recreate a volume group with the same name later.
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
06-03-2005 12:44 AM
06-03-2005 12:44 AM
Re: VG is corrupt
Try vgexport instead.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2005 12:45 AM
06-03-2005 12:45 AM
Re: VG is corrupt
Try the vgexport command instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2005 12:47 AM
06-03-2005 12:47 AM