<div dir="ltr">The syntax looks good. If you need help with the cli and glusterd changes, I'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"><<a href="mailto:xhernandez@datalab.es" target="_blank">xhernandez@datalab.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'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 <volname> [stripe <count>] \<br>
[replica <count>] \<br>
[transport <tcp|rdma|tcp,rdma>] \<br>
<brick>?<vg_name>... \<br>
[force]<br>
<br>
I propose to use this modified syntax:<br>
<br>
volume create <volname> [stripe <count>] \<br>
[replica <count>] \<br>
[disperse <count>] \<br>
[redundancy <count>] \<br>
[transport <tcp|rdma|tcp,rdma>] \<br>
<brick>?<vg_name>... \<br>
[force]<br>
<br>
If 'disperse' is specified and 'redundancy' is not, 1 is assumed for<br>
redundancy.<br>
<br>
If 'redundancy' is specified and 'disperse' is not, disperse count is taken<br>
from the number of bricks.<br>
<br>
If 'disperse' 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>
'disperse' and 'redundancy' cannot be combined with 'stripe' or 'replica'.<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>
> I forgot to say that performance is not good, however there are some<br>
> optimizations not yet incorporated that may improve it. They will be added<br>
> in following patches.<br>
><br>
> Xavi<br>
><br>
> On Tuesday 13 May 2014 12:23:15 Xavier Hernandez wrote:<br>
> > Hello,<br>
> ><br>
> > I've just added the cluster/ec translator for review [1].<br>
> ><br>
> > It's a rewrite that does not use any additional translator or library.<br>
> > It's<br>
> > still a work in progress with some bugs to solve, but its architecture<br>
> > should be stable. The main missing feature is self-heal, that will be<br>
> > added<br>
> > once the main code is stabilized and reviewed.<br>
> ><br>
> > Feel free to review it and send any comment you think appropiate.<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Xavi<br>
> ><br>
> > [1] <a href="http://review.gluster.org/7749" target="_blank">http://review.gluster.org/7749</a><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>
><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>
<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>