[linux-lvm] vgremove fails to remove empty VG (v2.02.98)

mohammad azimi mohammad.reza.azimi at gmail.com
Thu Jan 24 05:50:28 UTC 2013


Hi

Did you used vgreduce to release free the disk?
 On Jan 24, 2013 8:02 AM, "Joschi Brauchle" <joschi.brauchle at tum.de> wrote:

> Hello,
>
> I get the following error with lvm2.02.98:
> -----------
> #/sbin/vgdisplay --units k -v 'system'
>
>   --- Volume group ---
>   VG Name               system
>   System ID
>   Format                lvm2
>   Metadata Areas        1
>   Metadata Sequence No  13
>   VG Access             read/write
>   VG Status             resizable
>   MAX LV                0
>   Cur LV                0
>   Open LV               0
>   Max PV                0
>   Cur PV                1
>   Act PV                1
>   VG Size               104669184.00 KiB
>   PE Size               4096.00 KiB
>   Total PE              25554
>   Alloc PE / Size       0 / 0 KiB
>   Free  PE / Size       25554 / 104669184.00 KiB
>   VG UUID               Qs0uaZ-L88n-tC7T-fZQj-sgJY-**2yRX-Dlt2Cr
>
>   --- Physical volumes ---
>   PV Name               /dev/sda3
>   PV UUID               wzGjXi-F2lT-d2d4-l5a6-EmfM-**W838-YxaFIh
>   PV Status             allocatable
>   Total PE / Free PE    25554 / 25554
> -----------
>
> VG system is empty, but still:
> -----------
> # /sbin/vgremove 'system'
> -----------
> failes with status code 5, which means 'can't remove volume group
> containing logical volumes' (from man page).
>
> Looks like a bug in vgremove?
>
> Best regards,
> J Brauchle
>
>
> _______________________________________________
> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20130124/0ca7d4ff/attachment.htm>


More information about the linux-lvm mailing list