Re: Shrinking a LVM physical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> According to its manpage, it should be safe to use
>   pvresize --setphysicalvolumesize <newsize> <pvdevice>
> prior to resizing the partition. It should complain if there are extents
> in use beyond <newsize>.

Is there some way to move those extents?
I guess there's pvmove, but that seems to only be able to move them to
some other PV.

>> And then once that's done,
>> how safe is it to move the lvm partition around on the drive?
> That is up to somebody with more knowledge to answer.

I can confirm that PVs can be moved at will (even between drives).
I've done it a few times.


        Stefan

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux