qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] qemu-img crash when resize a qcow2 file cr


From: Thomas Huth
Subject: Re: [Qemu-block] [Qemu-devel] qemu-img crash when resize a qcow2 file created with preallocation=full/falloc .
Date: Wed, 25 Oct 2017 09:22:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]