[linux-lvm] can't remove volume group
Heinz Mauelshagen
mauelshagen at redhat.com
Sun Nov 20 12:50:39 UTC 2005
It says you can't remove an active VG ->
vgchange -an LVM2 ; vgremove LVM2
On Sat, Nov 19, 2005 at 11:12:49PM +0100, Matthias Meyer wrote:
> Hello,
>
> I have a volume group with one physical volume and I can't remove this
> volume group :-(
>
> vdr:~# vgdisplay LVM2
> --- Volume group ---
> VG Name LVM2
> VG Access read/write
> VG Status available/resizable
> VG # 1
> MAX LV 256
> Cur LV 0
> Open LV 0
> MAX LV Size 2 TB
> Max PV 256
> Cur PV 1
> Act PV 1
> VG Size 92.75 GB
> PE Size 256 MB
> Total PE 371
> Alloc PE / Size 0 / 0
> Free PE / Size 371 / 92.75 GB
> VG UUID 2Oojws-3owd-iK1X-wbpy-Mx9X-CieY-7JN0b0
>
> vdr:~# vgreduce LVM2 /dev/hdd1
> vgreduce -- can't reduce volume group "LVM2" to zero physical volumes
>
> vdr:~# vgremove LVM2
> vgremove -- ERROR: can't remove active volume group "LVM2"
>
> What I have to do?
>
> Thanks in advance
> Matthias
> --
> Don't Panic
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
Cluster and Storage Development 56242 Marienrachdorf
Germany
Mauelshagen at RedHat.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list