Re: [Gluster-users] Sharding/Local Gluster Volumes

2017-04-06 Thread Vijay Bellur
On Thu, Apr 6, 2017 at 7:09 AM, Holger Rojahn  wrote:

> Hi,
>
> i ask a question several Days ago ...
> in short: Is it Possible to have 5 Bricks with Sharding enabled and
> replica count 3 to ensure that all files are on 3 of 5 bricks ?
> Manual says i can add any count of bricks to shared volumes but when i
> test it with replica count 2 i can use 4 bricks but not the 5th because it
> says must be 2 bricks to add...
>
> any idea ?
>
>
One possibility could be to split the 5th brick into two different arbiter
bricks. With that you would be able to have 4 data bricks, 2 arbiter bricks
and a replica 3 volume with arbiter.

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

Re: [Gluster-users] Sharding/Local Gluster Volumes

2017-04-06 Thread lemonnierk
Hi,

If you want replica 3, you must have a multiple of 3 bricks.
So no, you can't use 5 bricks for a replica 3, that's one of the
things gluster can't do unfortunatly.


On Thu, Apr 06, 2017 at 01:09:32PM +0200, Holger Rojahn wrote:
> Hi,
> 
> i ask a question several Days ago ...
> in short: Is it Possible to have 5 Bricks with Sharding enabled and 
> replica count 3 to ensure that all files are on 3 of 5 bricks ?
> Manual says i can add any count of bricks to shared volumes but when i 
> test it with replica count 2 i can use 4 bricks but not the 5th because 
> it says must be 2 bricks to add...
> 
> any idea ?
> 
> greets from dinslaken (germany)
> holger ak icebear
> 
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users


signature.asc
Description: Digital signature
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] Sharding/Local Gluster Volumes

2017-04-06 Thread Holger Rojahn

Hi,

i ask a question several Days ago ...
in short: Is it Possible to have 5 Bricks with Sharding enabled and 
replica count 3 to ensure that all files are on 3 of 5 bricks ?
Manual says i can add any count of bricks to shared volumes but when i 
test it with replica count 2 i can use 4 bricks but not the 5th because 
it says must be 2 bricks to add...


any idea ?

greets from dinslaken (germany)
holger ak icebear

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