- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgchange: Couldn't deactivate volume group De...
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
08-16-2002 05:42 PM
08-16-2002 05:42 PM
vgchange: Couldn't deactivate volume group Device busy
vgchange: Couldn't deactivate volume group Device busy
Before running this command I unmounted all the file systems under that volume group.
Gone through the forum , but couldn't find a solution. The volume group contains EMC meta volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:27 PM
08-16-2002 06:27 PM
Re: vgchange: Couldn't deactivate volume group Device busy
Do you have "lsof" ??
You could shut down and boot into single user mode, but that's probably not what you want to do.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:55 PM
08-16-2002 06:55 PM
Re: vgchange: Couldn't deactivate volume group Device busy
Unfortunately I can't reboot the box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:00 PM
08-16-2002 07:00 PM
Re: vgchange: Couldn't deactivate volume group Device busy
What does vgdisplay -v vgxx display?
Is there paging on any lv's within this vg?
Any RAW lv's ??
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:07 PM
08-16-2002 07:07 PM
Re: vgchange: Couldn't deactivate volume group Device busy
# vgdisplay -v vgbcv07
--- Volume groups ---
VG Name /dev/vgbcv07
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 3596
VGDA 4
PE Size (Mbytes) 4
Total PE 7190
Alloc PE 7190
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vgbcv07/lvol1
LV Status available/syncd
LV Size (Mbytes) 14380
Current LE 3595
Allocated PE 3595
Used PV 1
LV Name /dev/vgbcv07/lvol2
LV Status available/syncd
LV Size (Mbytes) 14380
Current LE 3595
Allocated PE 3595
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c6t3d3
PV Status available
Total PE 3595
Free PE 0
Autoswitch On
PV Name /dev/dsk/c6t3d2
PV Status available
Total PE 3595
Free PE 0
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:25 PM
08-16-2002 07:25 PM
Re: vgchange: Couldn't deactivate volume group Device busy
# ll /dev/vgbcv07/group
==> Take note of it's minor number.
# ll /dev/vg*/group | grep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:39 PM
08-16-2002 07:39 PM
Re: vgchange: Couldn't deactivate volume group Device busy
I'm wondering if you have a "corrupted" /etc/lvmtab file.
If you rename it (mv /etc/lvmtab /etc/orig_lvmtab), and please rename it, not remove it, and then run "vgscan -v".
Is this a BCV volume? If it is, is it write enabled?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:42 PM
08-16-2002 07:42 PM
Re: vgchange: Couldn't deactivate volume group Device busy
SK,
Good point!
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:45 PM
08-16-2002 07:45 PM
Re: vgchange: Couldn't deactivate volume group Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:58 PM
08-16-2002 07:58 PM
Re: vgchange: Couldn't deactivate volume group Device busy
I've never had it "destroy" anything. The lvmtab file is like a quick index into the structure of the vg's & lv's.
I have rebuilt the lvmtab file many times because I had messed up LV/VG's
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2002 02:52 PM
08-17-2002 02:52 PM
Re: vgchange: Couldn't deactivate volume group Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 03:33 AM
08-20-2002 03:33 AM
Re: vgchange: Couldn't deactivate volume group Device busy
Please be so kind to continue or evaluate this discussions. There are some interesting comments of our fellow friends. I have similar problems and would like to learn from the discussion.
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 03:36 AM
08-20-2002 03:36 AM
Re: vgchange: Couldn't deactivate volume group Device busy
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 08:02 AM
08-26-2002 08:02 AM
Re: vgchange: Couldn't deactivate volume group Device busy
just my 0.02??? worth
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 08:55 AM
08-26-2002 08:55 AM
Re: vgchange: Couldn't deactivate volume group Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 10:18 AM
08-26-2002 10:18 AM
Re: vgchange: Couldn't deactivate volume group Device busy
I cannot think of any other scenario under which this occurs. Maybe you have some application which uses these devices..Just check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 01:35 AM
08-27-2002 01:35 AM
Re: vgchange: Couldn't deactivate volume group Device busy
we hava had a similar problem.Sometimes one user is in the directory, so try "fuser -uc" to check this.
Another time a process had a lock on the filesystem, you can check this with "lsof |grep vgNAME". Sometimes one cronjob or a backup process is stil working on it.
I hope you find a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2002 02:28 AM
11-29-2002 02:28 AM
Re: vgchange: Couldn't deactivate volume group Device busy
This is mostly guesswork from systems I've had with the same problem, but
since you seem to be running EMC BCV this is probalby what has happend:
You had the vg active but established the disks on the emc side.The system seems to remember the old vg structure and since that has changed it can't write the info back and complete the vgchange. So what might help is splitting the disks again and trying a vgcfgrestore (always asuming you've got a new .conf version in /etc/lvconf directory)
then the system might (big might) accept the disks again and let you do a vgchange -a n
again. The same effect can be seen if you create a vg on one machine umount the fs but forget to deactivate it, then fire up the same vg on a different machine using Sevice Guard (vgchange -c y /vgchange -a e ). I haven't found any sure way to clear the status appart from a reboot, anybody else found a way?
nigel@devoss.de
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2002 08:29 AM
11-29-2002 08:29 AM
Re: vgchange: Couldn't deactivate volume group Device busy
JAGae05460 for 11.00, fix PHKL_27212 or later
JAGae04912 for 11.11, fix PHKL_25885 or later
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2002 07:41 PM
12-01-2002 07:41 PM
Re: vgchange: Couldn't deactivate volume group Device busy
vgchange -q n -a n
Q-4-u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 10:00 AM
08-28-2003 10:00 AM
Re: vgchange: Couldn't deactivate volume group Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 12:00 PM
08-28-2003 12:00 PM
Re: vgchange: Couldn't deactivate volume group Device busy
There is a patch out there to correct it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 06:03 AM
04-29-2004 06:03 AM
Re: vgchange: Couldn't deactivate volume group Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 08:27 AM
04-30-2004 08:27 AM
Re: vgchange: Couldn't deactivate volume group Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 09:32 AM
04-30-2004 09:32 AM
Re: vgchange: Couldn't deactivate volume group Device busy
Not sure if your problem is resolved. Could you please run fuser -u on all the raw logical volumes and volume group.