[sheepdog-users] change default copies number

Maxim Terletskiy terletskiy at emu.ru
Wed Jun 11 22:38:27 CEST 2014


If I have cluster formatted with "-c 2" can I create vdi with more 
copies than cluster default? If I have vdi with 2 copies in cluster 
formatted with "-c 2", can I do snapshot of this vdi and then clone this 
snapshot with option "-c 3"?

02.06.2014 8:06, Liu Yuan пишет:
> 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