- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem removing 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
тАО04-30-2007 08:44 AM
тАО04-30-2007 08:44 AM
Any idea how to proceed? It complains about lvols, but I don't see any.
#: vgremove /dev/vgignite
vgremove: Volume group "/dev/vgignite" still contains a logical volume(s).
vgremove: Couldn't remove volume group "/dev/vgignite".
#:
#: vgdisplay -v /dev/vgignite
--- Volume groups ---
VG Name /dev/vgignite
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 0
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 3975
VGDA 2
PE Size (Mbytes) 4
Total PE 3974
Alloc PE 3584
Free PE 390
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Physical volumes ---
PV Name /dev/dsk/c10t0d0
PV Status available
Total PE 3974
Free PE 390
Autoswitch On
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2007 08:48 AM
тАО04-30-2007 08:48 AM
SolutionDo a 'strings /etc/lvmtab | more' and look for the section for this VG. See if an LV is listed.
If you really want to get rid of this VG and are absolutely sure it is not in use, do:
# vgexport /dev/vgignite
That should completely remove it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2007 08:50 AM
тАО04-30-2007 08:50 AM
Re: Problem removing a Volume Group
try a vgexport -p -m /tmp/map.file and review the map file.
If you are absolutely sure nothing is there then vgexport .. Be carefull here before you choose the brute force approach. The system is usually right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2007 08:59 AM
тАО04-30-2007 08:59 AM
Re: Problem removing a Volume Group
#: strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t2d0
/dev/vgignite
/dev/dsk/c10t0d0
/dev/vgignite2
?EFH!
/dev/dsk/c10t1d0
/dev/dsk/c10t0d7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2007 08:59 AM
тАО04-30-2007 08:59 AM
Re: Problem removing a Volume Group
There are still logical volumes on this disk.
Since a disk can only be in one volume group, I'd conclude that lvremove is not complete.
pvdisplay -v /dev/dsk/c10t0d0 and get those logical volumes out of there.
Otherwise, vgexport.
Because Ignite is very concerned with restorability, it will not complete on systems with lvm problems.
It may seem like a pain, but it insures as best as you can that the thing will work when you need it.
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
тАО04-30-2007 09:02 AM
тАО04-30-2007 09:02 AM
Re: Problem removing a Volume Group
that's what I was looking for.
Not sure where the inconsistency showed up from, probably from deleting something in the wrong way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2007 08:46 PM
тАО04-30-2007 08:46 PM
Re: Problem removing a Volume Group
run vgexport /dev/vgignite
this will resolve the issue & it is safe too.