<div dir="ltr"><div dir="ltr"><div>Hi Dave,</div><div><br></div><div>I have try following but failed. Can you help find my mistake?</div><div><br></div><div><div>[root@gluster-eadmin-data ~]# gluster volume add-brick eadmin-data replica 3 arbiter 1 gluster-eadmin-data.vm:/mnt/BRICK0 gluster-eadmin-data.dc:/mnt/BRICK0 gluster-eadmin-data.arb:/mnt/BRICK0 gluster-eadmin-data.vm:/mnt/BRICK1 gluster-eadmin-data.dc:/mnt/BRICK1 gluster-eadmin-data.arb:/mnt/BRICK1 gluster-eadmin-data.vm:/mnt/BRICK2 gluster-eadmin-data.dc:/mnt/BRICK2 gluster-eadmin-data.arb:/mnt/BRICK2 gluster-eadmin-data.vm:/mnt/BRICK3 gluster-eadmin-data.dc:/mnt/BRICK3 gluster-eadmin-data.arb:/mnt/BRICK3 gluster-eadmin-data.vm:/mnt/BRICK4 gluster-eadmin-data.dc:/mnt/BRICK4 gluster-eadmin-data.arb:/mnt/BRICK4 gluster-eadmin-data.vm:/mnt/BRICK5 gluster-eadmin-data.dc:/mnt/BRICK5 gluster-eadmin-data.arb:/mnt/BRICK5 gluster-eadmin-data.vm:/mnt/BRICK6 gluster-eadmin-data.dc:/mnt/BRICK6 gluster-eadmin-data.arb:/mnt/BRICK6 gluster-eadmin-data.vm:/mnt/BRICK7 gluster-eadmin-data.dc:/mnt/BRICK7 gluster-eadmin-data.arb:/mnt/BRICK7</div><div>volume add-brick: failed: Operation failed</div></div><div><br></div><div>Bricks on gluster-eadmin-data.vm and gluster-eadmin-data.dc are existing. I want to add arbiter bricks on gluster-eadmin-data.arb.</div><div><br></div><div>Best regards,</div><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Date: Fri, 7 Dec 2018 06:53:30 -0600<br>
From: Dave Sherohman <<a href="mailto:dave@sherohman.org" target="_blank">dave@sherohman.org</a>><br>
To: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
Subject: Re: [Gluster-users] Add Arbiter Brick to Existing Distributed<br>
Replicated Volume<br>
Message-ID: <<a href="mailto:20181207125330.GJ32114@sherohman.org" target="_blank">20181207125330.GJ32114@sherohman.org</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Wed, Dec 05, 2018 at 12:37:29AM +0700, Lazuardi Nasution wrote:<br>
> How to add arbiter brick to existing distributed replicated volume (for<br>
> example 3x2)? I have try "gluster volume add-brick <VOLNAME> replica 3<br>
> arbiter 1 <NEW-BRICK1> <NEW-BRICK2> <NEW-BRICK3>" where <NEW-BRICK1>,<br>
> <NEW-BRICK2> and <NEW-BRICK3> is on the same host.<br>
<br>
You have to supply the complete list of bricks in any add-brick command.<br>
So if you have bricks D1-2, D1-2, D2-1, D2-2, D3-1, and D3-2, adding<br>
arbiters (A-1 through A-3) would be<br>
<br>
gluster volume add-brick MyVolume replica 3 arbiter 1 D1-1 D1-2 A-1 D2-1 D2-2 A-2 D3-1 D3-2 A-3<br>
<br>
-- <br>
Dave Sherohman<br>
</blockquote></div></div></div>