[Openstack] Compute Node Local Storage: allow metadata preallocation when creating qcow2 images

Martinx - ジェームズ thiagocmartinsc at gmail.com
Fri Jul 11 23:54:47 UTC 2014


Guys,

 How can I configure the Compute Node, to create its qcow2 images, using
preallocation?

 Currently, OpenStack Nova Compute creates the instance image, using
"qemu-img create" without passing the option "-o preallocation=metadata" to
it, which is slower.

 So, how can I reconfigure nova compute to make use of preallocation?!

 Libvirt supports it, commits:


http://libvirt.org/git/?p=libvirt.git;a=commit;h=1c9a2fb1aef1729ac86cd6648b5c2b7584f5f698


http://libvirt.org/git/?p=libvirt.git;a=commit;h=790dfee5eaf8600282da5a3d61bf807516f1b87e

Tks!
Thiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140711/9fbbdb3e/attachment.html>


More information about the Openstack mailing list