[sheepdog-users] change default copies number
Liu Yuan
namei.unix at gmail.com
Mon Jun 2 06:06:06 CEST 2014
On Sun, Jun 01, 2014 at 08:20:58PM +0400, Maxim Terletskiy wrote:
> Hi!
>
> My cluster was formatted with copies = 2. I know that if I'm
> creating images with "dog" command, I can change copies number with
> "-c" option. How can I change copies number for "qemu-img convert"?
For qemu with version 2.0 or plus, we support -o redundancy option similar to
dog's '-c'
# create a fully replicated vdi with x copies
-o redundancy=x (1 <= x <= SD_MAX_COPIES)
# create a erasure coded vdi with x data strips and y parity strips
-o redundancy=x:y (x must be one of {2,4,8,16} and 1 <= y < SD_EC_MAX_STRIP)
Which support qemu and qemu-img binary.
Thanks
Yuan
More information about the sheepdog-users
mailing list