[openstack-dev] [nova] Do any hyperviors allow disk reduction as part of resize ?

Russell Bryant rbryant at redhat.com
Tue Jun 17 14:56:36 UTC 2014


On 06/17/2014 10:43 AM, Richard W.M. Jones wrote:
> On Fri, Jun 13, 2014 at 06:12:16AM -0400, Aryeh Friedman wrote:
>> Theoretically impossible to reduce disk unless you have some really nasty
>> guest additions.
> 
> True for live resizing.
> 
> For "dead" resizing, libguestfs + virt-resize can do it.  Although I
> wouldn't necessarily recommend it.  In almost all cases where someone
> wants to shrink a disk, IMHO it is better to sparsify it instead
> (ie. virt-sparsify).

FWIW, the resize operation in OpenStack is a dead one.

-- 
Russell Bryant



More information about the OpenStack-dev mailing list