Re: [Openstack] [OpenStack] preallocation

2012-04-10 Thread Vishvananda Ishaya
The limitation is due to what is supported by the qemu-img snapshot -c command AFAIK this works with qcow only, but perhaps other formats are supported. use_cow_image=true # always works use_cow_image=false # only works if force_raw_images=false AND original_image_format = qcow Vish On Apr 10

Re: [Openstack] [OpenStack] preallocation

2012-04-10 Thread Lorin Hochstein
Vish: For documentation purposes, if the user wants to be able to do snapshots, what combinations of the following three variables are allowed? 1. original image format (qcow2 | raw) 2. use_cow_image flag (true | false) 3. force_raw_images flag (true | false) Take care, Lorin -- Lorin Hochste

Re: [Openstack] [OpenStack] preallocation

2012-04-09 Thread Vishvananda Ishaya
You can disable using backing files with the following config: use_cow_images=false You should be aware that you likely won't be able to snapshot images unless you make sure to upload them all in qcow format and also set: force_raw_images=false On Apr 9, 2012, at 9:37 PM, William Herry wrote: >

[Openstack] [OpenStack] preallocation

2012-04-09 Thread William Herry
Hi I read from an article that said use preallocation can improve disk I/O performance in kvm, when I add it to openstack, suck error come to me (nova.rpc.amqp): TRACE: Stderr: 'Backing file and preallocation cannot be used at the same time\nqemu-img: /usr/local/lib/python2.7/dist-packages/nova-2