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
lemonnierk at ulrar.net
2017-Apr-06 12:25 UTC
[Gluster-users] Sharding/Local Gluster Volumes
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 at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Digital signature URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170406/decafa80/attachment.sig>
On Thu, Apr 6, 2017 at 7:09 AM, Holger Rojahn <iceholger at gmail.com> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170406/94788d5a/attachment.html>