<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>Well, this is mainly because some frontends (such as ProxMox when used in conjunction with Sheepdog as a backend storage) doesn't provide the ability to change that value from the GUI at VM creation.<div>So, if you want another number of copies, you have to create the vdi first, then the VM with no hard drive (but you can't so you create a dummy hard drive), then modify the VM to delete the dummy drive and attach your previously created vdi.</div><div><br></div><div>Also, since Sheepdog is very flexible, it is not rare to begin your cluster with only 2 nodes where you usually format your cluster with -c 2 so that you're doing pure replication between nodes then later, you add new nodes and in that case, you would be happy to renumber your whole cluster to -c 3 so that every vdi you already created create a new copy and every new vdi is -c 3 by default so that you don't have to thing to create them with the good number copy (especially when your frontend is a bit dumb for that job since it doesn't provide you with the functions you need and you have to waste time with workarounds).</div><div><br></div><div>Regards,</div><div><br></div><div>Walid<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Andrew J. Hobbs" <ajhobbs@desu.edu><br><b>À: </b>sheepdog-users@lists.wpkg.org<br><b>Envoyé: </b>Lundi 5 Mai 2014 18:01:36<br><b>Objet: </b>Re: [sheepdog-users] sheepdog replica number question<br><br>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.<br><br>Not sure how useful in-place would be.  It's trivial to write out and read back an image in a different format.<br><br>On 05/05/2014 05:20 AM, Walid Moghrabi wrote:<br>Hi,<br><br>I know this has already been asked before but is it planned to be able to change the default cluster format setting afterward ?<br>2 cases would be nice to take care of :<br>* change de default cluster format number so that new vdi use this new default value (pretty easy I guess)<br>* 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<br><br>Regards,<br><br>Walid<br><br>________________________________<br>De: "Liu Yuan" <namei.unix@gmail.com><mailto:namei.unix@gmail.com><br>À: "飞" <duron800@qq.com><mailto:duron800@qq.com><br>Cc: "sheepdog-users" <sheepdog-users@lists.wpkg.org><mailto:sheepdog-users@lists.wpkg.org><br>Envoyé: Lundi 5 Mai 2014 05:11:35<br>Objet: Re: [sheepdog-users] sheepdog replica number question<br><br>On Mon, May 05, 2014 at 09:28:41AM +0800, 飞 wrote:<br>> 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.<br><br>You can create a vdi with whatever copies you want as following:<br><br>dog vdi create -c x your_vdi 100G<br><br>Sheepdog support different copies per vdi for a single cluster.<br><br>Thanks<br>Yuan<br>--<br>sheepdog-users mailing lists<br>sheepdog-users@lists.wpkg.org<mailto:sheepdog-users@lists.wpkg.org><br>http://lists.wpkg.org/mailman/listinfo/sheepdog-users<br><br><br><br><br><br>-- <br>sheepdog-users mailing lists<br>sheepdog-users@lists.wpkg.org<br>http://lists.wpkg.org/mailman/listinfo/sheepdog-users<br></div><br></div></div></body></html>