[linux-lvm] Activation problem with vgremove

Marcus Franke MFranke at evendi.de
Fri Nov 25 12:49:36 UTC 2005

Hello all,

I am doing a reconfiguration of one of my servers and am facing
the following problem:

I have one disk using the lvm.

On this disk there is one volumegroup which had two logical

I unmounted those volumes and tried to lvremove them. The
first one went down the river without a problem. The second
one I was not able to lvremove it, after a reboot of the
machine, I could remove the logical volume.

Now, I have the problem I want to delete the volume group
too, but vgremove fails like the logical volume. Somewhere
it is marked as active.

[root at master]/mnt# vgremove -v Volume01
vgremove -- locking logical volume manager
vgremove -- checking volume group name "Volume01"
vgremove -- checking volume group "Volume01" activity
vgremove -- ERROR: can't remove active volume group "Volume01"

System is RHEL3 with kernel:
2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686 i386

Where can I remove the active flag for the volume group? As I do not
want to reboot the machine again as the next timeframe for reboot will
not before tomorrow morning.


More information about the linux-lvm mailing list