Re: [one-users] qcow2: empty datablock image creation with preallocation

2013-12-03 Thread Lorenzo Faleschini
thanks Jamie I'll try as soon as I have some time on a testbox cheers Lorenzo Il 03/12/2013 13:09, Jaime Melis ha scritto: Hi Lorenzo, not out of the box. You will need to manually modify the DS drivers. You will need to modify: https://github.com/OpenNebula/one/blob/release-4.4/src/datastor

Re: [one-users] qcow2: empty datablock image creation with preallocation

2013-12-03 Thread Liu, Guang Jun (Gene)
Thank you all for your answer and information! Gene On 13-12-03 07:09 AM, Jaime Melis wrote: > Hi Lorenzo, > > not out of the box. You will need to manually modify the DS drivers. > You will need to modify: > https://github.com/OpenNebula/one/blob/release-4.4/src/datastore_mad/remotes/fs/mkfs > >

Re: [one-users] qcow2: empty datablock image creation with preallocation

2013-12-03 Thread Jaime Melis
Hi Lorenzo, not out of the box. You will need to manually modify the DS drivers. You will need to modify: https://github.com/OpenNebula/one/blob/release-4.4/src/datastore_mad/remotes/fs/mkfs And replace the 'dd' command with your own. I would probably do something like: https://gist.github.com/j

[one-users] qcow2: empty datablock image creation with preallocation

2013-12-02 Thread Lorenzo Faleschini
Hi is it possible to create in sunstone (or via CLI) an empty-datablock qcow2 with preallocation (-o preallocation=metadata). I need it to avoid the auto-grow overhead. for now I create the prealloc qcow2 image then I import it in one. is it posible to avoid this step? any suggestions or alt

[one-users] qcow2: empty datablock image creation with preallocation

2013-12-02 Thread Lorenzo Faleschini
Hi is it possible to create in sunstone (or via CLI) an empty-datablock qcow2 with preallocation (-o preallocation=metadata). I need it to avoid the auto-grow overhead. for now I create the prealloc qcow2 image then I import it in one. is it posible to avoid this step? any suggestions or alt