[sheepdog-users] sheepdog replica number question

Andrew J. Hobbs ajhobbs at desu.edu
Mon May 5 18:01:36 CEST 2014


I would prefer the default be immutable for a given format, this is primarily because it's trivial to alter the number of copies at vdi creation time, or even use erasure coding depending on need.  The default should remain something sensible such as 3 simply as a guard for me forgetting to specify the copy count at creation time.

Not sure how useful in-place would be.  It's trivial to write out and read back an image in a different format.

On 05/05/2014 05:20 AM, Walid Moghrabi wrote:
Hi,

I know this has already been asked before but is it planned to be able to change the default cluster format setting afterward ?
2 cases would be nice to take care of :
* change de default cluster format number so that new vdi use this new default value (pretty easy I guess)
* renumber, after many warnings, existing vdi copies so that a vdi that has been created with -c 2 can be upgraded to -c 3 for example

Regards,

Walid

________________________________
De: "Liu Yuan" <namei.unix at gmail.com><mailto:namei.unix at gmail.com>
À: "飞" <duron800 at qq.com><mailto:duron800 at qq.com>
Cc: "sheepdog-users" <sheepdog-users at lists.wpkg.org><mailto:sheepdog-users at lists.wpkg.org>
Envoyé: Lundi 5 Mai 2014 05:11:35
Objet: Re: [sheepdog-users] sheepdog replica number question

On Mon, May 05, 2014 at 09:28:41AM +0800, 飞 wrote:
> hello, I have deployed sheepdog for test, and I format the cluster with 3 replica,but if I want to change the replica number of cluster or VDI, how to change it ? thank you.

You can create a vdi with whatever copies you want as following:

dog vdi create -c x your_vdi 100G

Sheepdog support different copies per vdi for a single cluster.

Thanks
Yuan
--
sheepdog-users mailing lists
sheepdog-users at lists.wpkg.org<mailto:sheepdog-users at lists.wpkg.org>
http://lists.wpkg.org/mailman/listinfo/sheepdog-users




-------------- 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/20140505/f9383f89/attachment-0005.vcf>


More information about the sheepdog-users mailing list