<div dir="ltr">The syntax looks good. If you need help with the cli and glusterd changes, I&#39;ll be happy to help.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 13, 2014 at 8:08 PM, Xavier Hernandez <span dir="ltr">&lt;<a href="mailto:xhernandez@datalab.es" target="_blank">xhernandez@datalab.es</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m trying to modify the cli to allow the creation of dispersed volumes.<br>
<br>
Current syntax for volume creation is like this:<br>
<br>
    volume create &lt;volname&gt; [stripe &lt;count&gt;] \<br>
                            [replica &lt;count&gt;] \<br>
                            [transport &lt;tcp|rdma|tcp,rdma&gt;] \<br>
                            &lt;brick&gt;?&lt;vg_name&gt;... \<br>
                            [force]<br>
<br>
I propose to use this modified syntax:<br>
<br>
    volume create &lt;volname&gt; [stripe &lt;count&gt;] \<br>
                            [replica &lt;count&gt;] \<br>
                            [disperse &lt;count&gt;] \<br>
                            [redundancy &lt;count&gt;] \<br>
                            [transport &lt;tcp|rdma|tcp,rdma&gt;] \<br>
                            &lt;brick&gt;?&lt;vg_name&gt;... \<br>
                            [force]<br>
<br>
If &#39;disperse&#39; is specified and &#39;redundancy&#39; is not, 1 is assumed for<br>
redundancy.<br>
<br>
If &#39;redundancy&#39; is specified and &#39;disperse&#39; is not, disperse count is taken<br>
from the number of bricks.<br>
<br>
If &#39;disperse&#39; is specified and the number of bricks is greater than the number<br>
indicated (and it is a multiple), a distributed-dispersed volume is created.<br>
<br>
&#39;disperse&#39; and &#39;redundancy&#39; cannot be combined with &#39;stripe&#39; or &#39;replica&#39;.<br>
<br>
Would this syntax be ok ?<br>
<br>
Xavi<br>
<div class="HOEnZb"><div class="h5"><br>
On Tuesday 13 May 2014 12:29:34 Xavier Hernandez wrote:<br>
&gt; I forgot to say that performance is not good, however there are some<br>
&gt; optimizations not yet incorporated that may improve it. They will be added<br>
&gt; in following patches.<br>
&gt;<br>
&gt; Xavi<br>
&gt;<br>
&gt; On Tuesday 13 May 2014 12:23:15 Xavier Hernandez wrote:<br>
&gt; &gt; Hello,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ve just added the cluster/ec translator for review [1].<br>
&gt; &gt;<br>
&gt; &gt; It&#39;s a rewrite that does not use any additional translator or library.<br>
&gt; &gt; It&#39;s<br>
&gt; &gt; still a work in progress with some bugs to solve, but its architecture<br>
&gt; &gt; should be stable. The main missing feature is self-heal, that will be<br>
&gt; &gt; added<br>
&gt; &gt; once the main code is stabilized and reviewed.<br>
&gt; &gt;<br>
&gt; &gt; Feel free to review it and send any comment you think appropiate.<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Xavi<br>
&gt; &gt;<br>
&gt; &gt; [1] <a href="http://review.gluster.org/7749" target="_blank">http://review.gluster.org/7749</a><br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Gluster-devel mailing list<br>
&gt; &gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; &gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-devel</a><br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-devel</a><br>
</div></div></blockquote></div><br></div></div>