Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-06-07 Thread Kevin Wolf
Am 07.06.2017 um 15:37 hat Max Reitz geschrieben: > On 2017-06-01 13:11, Denis V. Lunev wrote: > > On 06/01/2017 12:12 PM, Kevin Wolf wrote: > >> Am 31.05.2017 um 17:03 hat Eric Blake geschrieben: > >>> On 05/31/2017 09:43 AM, Pavel Butsykin wrote: > This patch adds the reduction of the image

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-06-07 Thread Max Reitz
On 2017-06-01 13:11, Denis V. Lunev wrote: > On 06/01/2017 12:12 PM, Kevin Wolf wrote: >> Am 31.05.2017 um 17:03 hat Eric Blake geschrieben: >>> On 05/31/2017 09:43 AM, Pavel Butsykin wrote: This patch adds the reduction of the image file for qcow2. As a result, this allows us to

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-06-01 Thread Kevin Wolf
Am 01.06.2017 um 13:11 hat Denis V. Lunev geschrieben: > On 06/01/2017 12:12 PM, Kevin Wolf wrote: > > Am 31.05.2017 um 17:03 hat Eric Blake geschrieben: > >> On 05/31/2017 09:43 AM, Pavel Butsykin wrote: > >>> This patch adds the reduction of the image file for qcow2. As a result, > >>> this >

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-06-01 Thread Denis V. Lunev
On 06/01/2017 12:12 PM, Kevin Wolf wrote: > Am 31.05.2017 um 17:03 hat Eric Blake geschrieben: >> On 05/31/2017 09:43 AM, Pavel Butsykin wrote: >>> This patch adds the reduction of the image file for qcow2. As a result, this >>> allows us to reduce the virtual image size and free up space on the

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-06-01 Thread Kevin Wolf
Am 31.05.2017 um 17:03 hat Eric Blake geschrieben: > On 05/31/2017 09:43 AM, Pavel Butsykin wrote: > > This patch adds the reduction of the image file for qcow2. As a result, this > > allows us to reduce the virtual image size and free up space on the disk > > without > > copying the image. Image

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-05-31 Thread Pavel Butsykin
On 31.05.2017 19:10, Richard W.M. Jones wrote: On Wed, May 31, 2017 at 06:54:33PM +0300, Pavel Butsykin wrote: It is assumed that the user has already made a preparatory with the image: 1. freeing space at the end of the image 2. reducing the last partition on the disk 3. rebuilding fs Only

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-05-31 Thread Pavel Butsykin
On 31.05.2017 19:03, Max Reitz wrote: On 2017-05-31 17:54, Pavel Butsykin wrote: On 31.05.2017 18:03, Eric Blake wrote: On 05/31/2017 09:43 AM, Pavel Butsykin wrote: This patch adds the reduction of the image file for qcow2. As a result, this allows us to reduce the virtual image size and

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-05-31 Thread Richard W.M. Jones
On Wed, May 31, 2017 at 06:54:33PM +0300, Pavel Butsykin wrote: > It is assumed that the user has already made a preparatory with the > image: > 1. freeing space at the end of the image > 2. reducing the last partition on the disk > 3. rebuilding fs > Only after these steps, the user can reduce

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-05-31 Thread Max Reitz
On 2017-05-31 17:54, Pavel Butsykin wrote: > On 31.05.2017 18:03, Eric Blake wrote: >> On 05/31/2017 09:43 AM, Pavel Butsykin wrote: >>> This patch adds the reduction of the image file for qcow2. As a >>> result, this >>> allows us to reduce the virtual image size and free up space on the >>> disk

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-05-31 Thread Pavel Butsykin
On 31.05.2017 18:03, Eric Blake wrote: On 05/31/2017 09:43 AM, Pavel Butsykin wrote: This patch adds the reduction of the image file for qcow2. As a result, this allows us to reduce the virtual image size and free up space on the disk without copying the image. Image can be fragmented and

Re: [Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-05-31 Thread Eric Blake
On 05/31/2017 09:43 AM, Pavel Butsykin wrote: > This patch adds the reduction of the image file for qcow2. As a result, this > allows us to reduce the virtual image size and free up space on the disk > without > copying the image. Image can be fragmented and reduction is done by punching > holes

[Qemu-devel] [PATCH 0/2] Add reduce image for qcow2

2017-05-31 Thread Pavel Butsykin
This patch adds the reduction of the image file for qcow2. As a result, this allows us to reduce the virtual image size and free up space on the disk without copying the image. Image can be fragmented and reduction is done by punching holes in the image file. # ./qemu-img create -f qcow2 -o