- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Removing a vg that is stuck
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
04-27-2006 07:28 AM
04-27-2006 07:28 AM
In most cases I would copy the data and drop the the whole thing amd make sure both drives (Mirror) are good and then recreate the mount point and restor the data. This works even thought I know there other ways.
This time when I try to remover the volume group it is telling me it is busy and it wont let me.
I had this happen a long time ago but cant find my notes.
Can you help.
The mount is gown but the lv and vg are still there. There is no data to be lost. and it is 2 drives mirrored.
I'm stuck!
Marty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 07:52 AM
04-27-2006 07:52 AM
Re: Removing a vg that is stuck
If
vgchange -a n vgname
vgexport vgname
does not work, you have to reboot computer to single user mode and vgexport the volume group.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 07:59 AM
04-27-2006 07:59 AM
Re: Removing a vg that is stuck
Why would you have to remove the VG and lvols, I don't understand. You only have to replace the bad drive and resync no ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 08:18 AM
04-27-2006 08:18 AM
Re: Removing a vg that is stuck
root:/ vgchange -a n /dev/vg12
vgchange: Couldn't deactivate volume group "/dev/vg12":
Device busy
root:/ fuser -u /dev/vg12
/dev/vg12:
root:/ fuser -cu /dev/vg12
/dev/vg12: fuser: could not find file system mounted at /dev/vg12.
root:/ fuser -u /dev/vg12/data12
/dev/vg12/data12:
Looks to be a re-boot?
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 08:23 AM
04-27-2006 08:23 AM
Re: Removing a vg that is stuck
ther server is a 6 hour drive from here. No data on it. And I can stop the allerts by disableing it completelly untile I have time to deal with it. It never has been a problem in the past.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 08:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 08:44 AM
04-27-2006 08:44 AM
Re: Removing a vg that is stuck
It is a done deal.
All is well now.
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 05:36 PM
04-27-2006 05:36 PM
Re: Removing a vg that is stuck
vgreduce -u
( get rid of a failed disk that failed during i.e. downtime and was replaced to another scsi ID )
pvchange -a n
( put a PV to LVM 'unavailable' state, that requires 11.11 or 11.23 )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 05:43 PM
04-27-2006 05:43 PM
Re: Removing a vg that is stuck
vgreduce -u?
It should be "vgreduce -f" or "-l", isn't it?
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!
