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

Richard W.M. Jones rjones at redhat.com
Tue Jun 17 14:43:58 UTC 2014


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).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/



More information about the OpenStack-dev mailing list