- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgchange causes device busy
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
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
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
тАО08-13-2007 04:19 AM
тАО08-13-2007 04:19 AM
vgchange causes device busy
1. vgchange -a e /dev/vg03
2. mount the filesystem
3. finished the work
4. unmount the filesystem.
5. vgchange -a n /dev/vg03
(could'nt deactivate volume group vg03:
device busy).
i need to deactivate this vg to bring up the SG. anythoughts?
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2007 04:25 AM
тАО08-13-2007 04:25 AM
Re: vgchange causes device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2007 04:28 AM
тАО08-13-2007 04:28 AM
Re: vgchange causes device busy
cd out of the filesystem folder when doing the command.
check /var/adm/syslog/syslog.log
Do a vgdisplay -v on the volume group and see what logical volumes may be active, possible other filesystems and such and take corrective action.
Halt any packages that might be trying to use the filesystem.
Really the umount should fail, but if there is an open process out there (fuser -cu add a k to kill) to find out if there are processes that think they have filehandles open.
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
тАО08-13-2007 01:30 PM
тАО08-13-2007 01:30 PM
Re: vgchange causes device busy
Try search for all device files which have a major number of 64 and a minor. I am wondering if they have "duplicate" device files for lvols,Where the duplicates have bits set in the minor number reserved bits (format being 0xVVRRLL - VV = volgrp number, RR reserved and LL lvol number). Or find out how they are using all the device files for this LV? e.g. are they just mounting via the block and not touching the raw? Or do they perform some other operations with them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2007 07:14 AM
тАО08-15-2007 07:14 AM
Re: vgchange causes device busy
Update fuser patches.
Update the latest NFS, STREAMS and ARPA Transport patches.
If the umount didn't work properly:
rm /etc/mnttab and do 'mount' to rebuild it.
Update the latest umount patches.
Update the latest vxfs patches.
If the vgchange really is the problem...
Verify the status of the disks using ioscan. Do the special files exist? State = NO_HW?
Do you also see:
"vgchange: Failed to notify clvm daemon about volume group deactivation - No
such file or directory"
Potential causes:
- The LVM structures on disk may be corrupted = use vgcfgrestore to reload.
- Failed to use 'vgchgid' on Business Copy set or SRDF backup set. (duplicate VGID) = use vgchgid
This is not an exhaustive list... just some ideas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 02:51 AM
тАО08-16-2007 02:51 AM
Re: vgchange causes device busy
From the ITRC:
The root cause for this problem is an old, undocumented behavior in LVM in which deactivation can not succeed while a resync is in progress.
It's documented as a ServiceGuard issue, however, I experienced it with BCVs so it's not exclusive to SG. The fix is pretty easy. Just issue a vgsync /dev/vg<> before the vgchange.
I searched for vgchange + failure on ITRC.