[sheepdog-users] qemu-img convert, choose redundancy level

Liu Yuan namei.unix at gmail.com
Tue Feb 25 04:17:34 CET 2014


On Tue, Feb 25, 2014 at 11:12:15AM +0800, Liu Yuan wrote:
> On Tue, Feb 25, 2014 at 11:07:55AM +0800, Liu Yuan wrote:
> > On Mon, Feb 24, 2014 at 04:51:00PM +0100, Valerio Pachera wrote:
> > > qemu-img convert test.qcow2 sheepdog:test
> > > 
> > > The new vdi will use the default redundancy level of the cluster.
> > > 
> > > Is it possible to pass a different one?
> > > Also using erasure code?
> > 
> > Current master branch of official qemu or our qemu repo support new option
> > '-o redundancy', which is the same semantics as in our '-c'.
> > 
> 
> Oops, I didn't notice you mean 'qemu convert'. I think it is fine to support it
> but this add a new option for QEMU, I guess it takes time to put it in the
> official QEMU if they accept it.
> 

I was wrong, both qemu-img and qemu binary support '-o redundancy=x:y'.

qemu-img convert -o redundancy=2:1 linux-0.2.img sheepdog:test

Thanks
Yuan



More information about the sheepdog-users mailing list