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

[linux-lvm] Re: Shrinking a LVM physical volume



> 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


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