Re: [Gluster-users] Brick count limit in a volume

2017-08-23 Thread Gaurav Yadav
In your case for 5500 bricks cli is failing the command saying "Total brick
list is larger than a request. Can take (brick_count )".

RCA..
gluster cli while parsing the command takes the wordcount and based on that
it compares the statically initialized size as you have point out in
https://github.com/gluster/glusterfs/blob/c136024613c697fec87aaff3a07086
2b92c57977/cli/src/cli-cmd-parser.c#L84.

While doing so when
wordcount increases which is happening in your case cli fails the command
with the above message.
In the error message you are getting , this is coming based on the
parsing logic.

I believe having dynamically allocated size based on max_brick_path(4096) *
no_of_bricks will solve the issue.

Thanks
Gaurav

On Wed, Aug 23, 2017 at 11:23 AM, Serkan Çoban 
wrote:

> This is the command line output:
> Total brick list is larger than a request. Can take (brick_count )
> Usage: volume create  [stripe ] [replica ] 
>
> I am testing if a big single volume will work for us. Now I am
> continuing testing with three volumes each 13PB...
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
>
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Brick count limit in a volume

2017-08-22 Thread Serkan Çoban
This is the command line output:
Total brick list is larger than a request. Can take (brick_count )
Usage: volume create  [stripe ] [replica ] 

I am testing if a big single volume will work for us. Now I am
continuing testing with three volumes each 13PB...
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Brick count limit in a volume

2017-08-22 Thread Vijay Bellur
Can you also please provide more detail on why those many bricks are needed
in a single volume?

Thanks,
Vijay

On Wed, Aug 23, 2017 at 12:43 AM, Atin Mukherjee 
wrote:

> An upstream bug would be ideal as github issue is mainly used for
> enhancements. In the mean time, could you point to the exact failure shown
> at the command line and the log entry from cli.log?
>
> On Wed, Aug 23, 2017 at 12:10 AM, Serkan Çoban 
> wrote:
>
>> Hi, I think this is the line limiting brick count:
>> https://github.com/gluster/glusterfs/blob/c136024613c697fec8
>> 7aaff3a070862b92c57977/cli/src/cli-cmd-parser.c#L84
>>
>> Can gluster-devs increase this limit? Should I open a github issue?
>>
>> On Mon, Aug 21, 2017 at 7:01 PM, Serkan Çoban 
>> wrote:
>> > Hi,
>> > Gluster version is 3.10.5. I am trying to create a 5500 brick volume,
>> > but getting an error stating that  bricks is the limit. Is this a
>> > known limit? Can I change this with an option?
>> >
>> > Thanks,
>> > Serkan
>> ___
>> Gluster-users mailing list
>> Gluster-users@gluster.org
>> http://lists.gluster.org/mailman/listinfo/gluster-users
>>
>
>
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
>
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Brick count limit in a volume

2017-08-22 Thread Atin Mukherjee
An upstream bug would be ideal as github issue is mainly used for
enhancements. In the mean time, could you point to the exact failure shown
at the command line and the log entry from cli.log?

On Wed, Aug 23, 2017 at 12:10 AM, Serkan Çoban 
wrote:

> Hi, I think this is the line limiting brick count:
> https://github.com/gluster/glusterfs/blob/c136024613c697fec87aaff3a07086
> 2b92c57977/cli/src/cli-cmd-parser.c#L84
>
> Can gluster-devs increase this limit? Should I open a github issue?
>
> On Mon, Aug 21, 2017 at 7:01 PM, Serkan Çoban 
> wrote:
> > Hi,
> > Gluster version is 3.10.5. I am trying to create a 5500 brick volume,
> > but getting an error stating that  bricks is the limit. Is this a
> > known limit? Can I change this with an option?
> >
> > Thanks,
> > Serkan
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
>
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Brick count limit in a volume

2017-08-22 Thread Serkan Çoban
Hi, I think this is the line limiting brick count:
https://github.com/gluster/glusterfs/blob/c136024613c697fec87aaff3a070862b92c57977/cli/src/cli-cmd-parser.c#L84

Can gluster-devs increase this limit? Should I open a github issue?

On Mon, Aug 21, 2017 at 7:01 PM, Serkan Çoban  wrote:
> Hi,
> Gluster version is 3.10.5. I am trying to create a 5500 brick volume,
> but getting an error stating that  bricks is the limit. Is this a
> known limit? Can I change this with an option?
>
> Thanks,
> Serkan
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] Brick count limit in a volume

2017-08-21 Thread Serkan Çoban
Hi,
Gluster version is 3.10.5. I am trying to create a 5500 brick volume,
but getting an error stating that  bricks is the limit. Is this a
known limit? Can I change this with an option?

Thanks,
Serkan
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users