[Gluster-users] Add an arbiter when have multiple bricks at same server.

Gilberto Ferreira
Tue, 05 Nov 2024 15:51:18 -0000

Hi there.

In previous emails, I comment with you guys, about 2 node gluster server,
where the bricks lay down in different size and folders in the same server,
like

gluster vol create VMS replica 2 gluster1:/disco2TB-0/vms
gluster2:/disco2TB-0/vms gluster1:/disco1TB-0/vms gluster2:/disco1TB-0/vms
gluster1:/disco1TB-1/vms gluster2:/disco1TB-1/vms

So I went ahead and installed a Debian 12 and installed the same gluster
version that the other servers, which is now 11.1 or something like that.
In this new server, I have a small disk like 480G in size.
And I created 3 partitions formatted with XFS using imaxpct=75, as
suggested in previous emails.

And than in the gluster nodes, I tried to add the brick
gluster vol add-brick VMS replica 3 arbiter 1 arbiter:/arbiter1/arbiter1
arbiter:/arbiter2/arbiter2 arbiter:/arbiter3/arbiter3

But to my surprise (or not!) I got this message:
volume add-brick: failed: Multiple bricks of a replicate volume are present
on the same server. This setup is not optimal. Bricks should be on
different nodes to have best fault tolerant co
nfiguration. Use 'force' at the end of the command if you want to
override
this behavior.

Why is that?






---


Gilberto Nunes Ferreira
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.gluster.org/pipermail/gluster-users/attachments/20241105/f98d92c9/attachment.html>