qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] delvm does not reduce the qcow2 file size


From: Kevin Wolf
Subject: Re: [Qemu-devel] delvm does not reduce the qcow2 file size
Date: Mon, 15 Oct 2012 16:24:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

Am 15.10.2012 15:25, schrieb Paolo Bonzini:
> Il 15/10/2012 11:33, Kuniyasu Suzaki ha scritto:
>> Hello,
>>
>> "delvm" is a command to delete a snapshot image in a qcow2 file.
>> However it does not reduce the qcow2 file size.
> 
> Note that the file will not grow when new allocations are performed in
> the future.
> 
> QEMU should also convert the unused clusters to "holes" in the file
> system, but it doesn't do that yet.
> 
>> Is there any method to reduce the qcow2 file size when I delete a snapshot 
>> image?
>> should I "convert" the qcow2 file?
> 
> I'm not sure what convert does if you have internal snapshots.

It loses the snapshots.

Kevin



reply via email to

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