[lvm-devel] pvresize problem

David Teigland teigland at redhat.com
Tue Mar 26 21:50:01 UTC 2013


On Tue, Mar 26, 2013 at 12:59:13PM -0400, David Teigland wrote:
> I'm trying to verify shrinking with pvresize --setphysicalvolumesize
> 
> When the pv is an orphan, it works as expected, but when the pv is
> not an orphan, the resulting size is always 8192S less than the
> requested size.

Looking in _text_pv_resize(), I'm guessing the difference I see might be
"pv->size -= size_reduction" which would indicate things are working as
intended.  If so, I'll adjust my checks to include this reduction.




More information about the lvm-devel mailing list