Wojciech Giel
2011-Dec-08 17:42 UTC
[Gluster-users] Can't create striped replicated volume
Hi, I'm trying to create striped replicated volume but getting tis error: gluster volume create cloud stripe 4 replica 2 transport tcp nebula1:/dataPool nebula2:/dataPool nebula3:/dataPool nebula4:/dataPool wrong brick type: replica, use<HOSTNAME>:<export-dir-abs-path> Usage: volume create<NEW-VOLNAME> [stripe<COUNT>] [replica<COUNT>] [transport<tcp|rdma|tcp,rdma>]<NEW-BRICK> ... I can create stiped or replicated only but can both in the same moment. tried with 3.2.5 and 3.2.4 stripe 2 replica 2 no luck. What might be a problem? thanks Wojciech
Wojciech Giel
2011-Dec-08 18:44 UTC
[Gluster-users] Can't create striped replicated volume
Hi Oliver, On 08/12/11 18:28, Olivier wrote:> Hi Wojciech > >> I'm trying to create striped replicated volume but getting tis error: >> >> gluster volume create cloud stripe 4 replica 2 transport tcp >> nebula1:/dataPool nebula2:/dataPool nebula3:/dataPool nebula4:/dataPool >> wrong brick type: replica, use<HOSTNAME>:<export-dir-abs-path> >> Usage: volume create<NEW-VOLNAME> [stripe<COUNT>] [replica<COUNT>] >> [transport<tcp|rdma|tcp,rdma>]<NEW-BRICK> ... > O don't jave Gluster doc at hand, but with 4 bricks, you cannot create a > stripe 4 replica 2 volume, it would need 4*2=8 bricks.fair enough but I have tried also stripe 2 replica 2 and got the same error. gluster volume create cloud stripe 2 replica 2 transport tcp nebula1:/dataPool nebula2:/dataPool nebula3:/dataPool nebula4:/dataPool wrong brick type: replica, use <HOSTNAME>:<export-dir-abs-path> Usage: volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ...> I think I remember the syntax is > > gluster volume create cloud replica 2 transport tcp nebula1:/dataPool > nebula2:/dataPool nebula3:/dataPool nebula4:/dataPoolthis one worked as well as striped only. thanks Wojciech> which would give you nebula1 and nebula2 being copy of each other and in > the next stripe nebula3 and nebula4 being copy of each other. > > Best regards,, > > Olivierr > >> I can create stiped or replicated only but can both in the same moment. >> tried with 3.2.5 and 3.2.4 >> stripe 2 replica 2 no luck. >> >> What might be a problem? >> thanks >> Wojciech >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >