Hi Dave,
I have try following but failed. Can you help find my mistake?
[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
volume add-brick: failed: Operation failed
Bricks on gluster-eadmin-data.vm and gluster-eadmin-data.dc are existing. I want to add arbiter bricks on gluster-eadmin-data.arb.
Best regards,
Date: Fri, 7 Dec 2018 06:53:30 -0600
From: Dave Sherohman <dave@xxxxxxxxxxxxx>
To: gluster-users@xxxxxxxxxxx
Subject: Re: Add Arbiter Brick to Existing Distributed
Replicated Volume
Message-ID: <20181207125330.GJ32114@xxxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii
On Wed, Dec 05, 2018 at 12:37:29AM +0700, Lazuardi Nasution wrote:
> How to add arbiter brick to existing distributed replicated volume (for
> example 3x2)? I have try "gluster volume add-brick <VOLNAME> replica 3
> arbiter 1 <NEW-BRICK1> <NEW-BRICK2> <NEW-BRICK3>" where <NEW-BRICK1>,
> <NEW-BRICK2> and <NEW-BRICK3> is on the same host.
You have to supply the complete list of bricks in any add-brick command.
So if you have bricks D1-2, D1-2, D2-1, D2-2, D3-1, and D3-2, adding
arbiters (A-1 through A-3) would be
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
--
Dave Sherohman
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx https://lists.gluster.org/mailman/listinfo/gluster-users