Re: [Qemu-discuss] Converting qcow2 image to raw thin lv

2017-02-13 Thread Jakob Bohm
On 13/02/2017 11:04, Kevin Wolf wrote: Am 12.02.2017 um 01:58 hat Nir Soffer geschrieben: On Sat, Feb 11, 2017 at 12:23 AM, Nir Soffer wrote: Hi all, I'm trying to convert images (mostly qcow2) to raw format on thin lv, hoping to write only the allocated blocks on the thin

Re: [Qemu-discuss] Converting qcow2 image to raw thin lv

2017-02-13 Thread Wolfgang Bumiller
On Mon, Feb 13, 2017 at 11:04:30AM +0100, Kevin Wolf wrote: > Am 12.02.2017 um 01:58 hat Nir Soffer geschrieben: > > On Sat, Feb 11, 2017 at 12:23 AM, Nir Soffer wrote: > > > Hi all, > > > > > > I'm trying to convert images (mostly qcow2) to raw format on thin lv, > > > hoping

Re: [Qemu-discuss] Converting qcow2 image to raw thin lv

2017-02-11 Thread Nir Soffer
On Sat, Feb 11, 2017 at 12:23 AM, Nir Soffer wrote: > Hi all, > > I'm trying to convert images (mostly qcow2) to raw format on thin lv, > hoping to write only the allocated blocks on the thin lv, but > it seems that qemu-img cannot write sparse image on a block > device. > >

[Qemu-discuss] Converting qcow2 image to raw thin lv

2017-02-10 Thread Nir Soffer
Hi all, I'm trying to convert images (mostly qcow2) to raw format on thin lv, hoping to write only the allocated blocks on the thin lv, but it seems that qemu-img cannot write sparse image on a block device. Here is an example: Create a new thin lv: # lvcreate --name raw-test --virtualsize 20g