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

2012-10-16 Thread Paolo Bonzini
Il 16/10/2012 13:06, Kuniyasu Suzaki ha scritto: QEMU should also convert the unused clusters to "holes" in the file > >> system, but it doesn't do that yet. >>> > > >>> > > I hope a qcow2 file is reduced automatically when a snapshot is deleted. >> > >> > Yes, that's part of the plan.

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

2012-10-16 Thread Kuniyasu Suzaki
Hello, From: Paolo Bonzini Subject: Re: delvm does not reduce the qcow2 file size Date: Tue, 16 Oct 2012 08:54:46 +0200 > >> QEMU should also convert the unused clusters to "holes" in the file > >> system, but it doesn't do that yet. > > > > I hope a qcow2 file is reduced automatically when a

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

2012-10-15 Thread Paolo Bonzini
Il 16/10/2012 08:23, Kuniyasu Suzaki ha scritto: >>> "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. > > You mean that the qcow2 file siz

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

2012-10-15 Thread Kuniyasu Suzaki
Hello, From: Paolo Bonzini Subject: Re: delvm does not reduce the qcow2 file size Date: Mon, 15 Oct 2012 15:25:16 +0200 > 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 qcow

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

2012-10-15 Thread Kevin Wolf
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

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

2012-10-15 Thread 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

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

2012-10-15 Thread Kuniyasu Suzaki
Hello, "delvm" is a command to delete a snapshot image in a qcow2 file. However it does not reduce the qcow2 file size. Is there any method to reduce the qcow2 file size when I delete a snapshot image? should I "convert" the qcow2 file? -- suzaki