[linux-lvm] Fwd: Removing PVs from Volume Groups which have allocated LVs

Xinwei Hu hxinwei at gmail.com
Wed May 28 14:59:19 UTC 2008


lvdisplay --maps

also, pvmove can move the data to other PVs before vgreduce.

2008/5/28 R Ramkumar <rramkumar at novell.com>:
> Hi,
>
> Does any one have any update on this issue? In brief, is it possible to know the PV's which are free (which are not being used by the LVs created) inside a VG so that they can be removed from the VG..
>
>>>> R Ramkumar 05/22/08 6:36 PM >>>
>
> Hi,
>
> I have a LVM setup where I have a VG with 3 PVs.. I have created 2 LVs from the VG which eventually has taken physical storage space from one or two of the PVs.. Now, when I want to shrink the VG, I need to know the unallocated PV so that I can remove from the VG..
>
> Is there anyway that I can find out which PV is unallocated and which PV to remove from the VG.. Please let me know your views..
>
> Thanks,
> Ram
>
>
>
> _______________________________________________
> 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/
>




More information about the linux-lvm mailing list