[sheepdog-users] change default copies number

Andrew J. Hobbs ajhobbs at desu.edu
Wed Jun 11 22:49:21 CEST 2014


Yes, you can just use something like:

dog vdi create -c 3 test 50G


On 06/11/2014 04:38 PM, Maxim Terletskiy wrote:
> 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
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ajhobbs.vcf
Type: text/x-vcard
Size: 353 bytes
Desc: ajhobbs.vcf
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140611/fbeb04e3/attachment-0005.vcf>


More information about the sheepdog-users mailing list