can't remove volume group
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
Signature · 1 line
Don't Panic
It says you can't remove an active VG ->
vgchange -an LVM2 ; vgremove LVM2
Quoted 43 lines · Matthias Meyer
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-7JN0b0vdr:~# vgreduce LVM2 /dev/hdd1 vgreduce -- can't reduce volume group "LVM2" to zero physical volumesvdr:~# vgremove LVM2 vgremove -- ERROR: can't remove active volume group "LVM2"What I have to do?
Thanks in advance
MatthiasSignature · 7 lines
Don't Panic _______________________________________________ linux-lvm mailing list [email protected] https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
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
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-