AW: [linux-lvm] Activation problem with vgremove

Marcus Franke MFranke at
Sat Nov 26 08:13:11 UTC 2005

Ok, had my timeframe, rebooted the server but still the volumegroup
is marked as active. I cannot remove it :(
How can this be and how can I change this? I need to remove the lvm
from the drive. And I want it to happen the clean way.
Not just fdisking it from the drive and let the informations of the lvm
remain somewhere in the config..


Von: linux-lvm-bounces at im Auftrag von Marcus Franke
Gesendet: Fr 25.11.2005 13:49
An: linux-lvm at
Betreff: [linux-lvm] Activation problem with vgremove

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.


linux-lvm mailing list
linux-lvm at
read the LVM HOW-TO at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5317 bytes
Desc: not available
URL: <>

More information about the linux-lvm mailing list