[Gluster-users] Can't create striped replicated volume

Wojciech Giel wojciech.giel at cimr.cam.ac.uk
Thu Dec 8 18:44:36 UTC 2011


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:/dataPool
this 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
>




More information about the Gluster-users mailing list