[openstack-dev] [nova] bp proposal: libvirt-resize-disk-down

Richard W.M. Jones rjones at redhat.com
Fri Jan 31 07:13:57 UTC 2014


On Thu, Jan 30, 2014 at 02:59:45PM +0000, sahid wrote:
>   Greetings,
> 
> A blueprint is being discussed about the disk resize down feature of libvirt driver.
>   https://blueprints.launchpad.net/nova/+spec/libvirt-resize-disk-down
> 
> The current implementation does not handle disk resize down and just skips the
> step during a resize down of the instance. I'm really convinced we can implement 
> this feature by using the good job of disk resize down of the driver xenapi.

resize2fs -M is problematic as another reply mentions.

virt-sparsify is designed to handle this case properly.  It currently
works by copying the disk image, but it should soon work in-place too
(waiting on some qemu command line changes).

And incidentally, virt-resize can handle the offline growing case well
too.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)



More information about the OpenStack-dev mailing list