On 24.10.2017 05:28, Changlimin wrote: > Hi, > I am glad to see that qcow2 file created with preallocation=full/falloc can > be resized. But when I test it, qemu-img crashs. > qemu-img: block/qcow2-refcount.c:530: qcow2_refcount_area: Assertion > `!(start_offset % s->cluster_size)' failed. > > These are commands: > qemu-img create -f qcow2 -o preallocation=full full.img 1G > qemu-img resize --preallocation=full full.img +1G
Which version of qemu-img are you using? v2.10 or the latest git master branch? Thomas