[linux-lvm] Re: Shrinking a LVM physical volume
monnier at iro.umontreal.ca
Thu Mar 26 00:54:20 UTC 2009
> 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.
More information about the linux-lvm