<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello gluster users and experts,<br><br></div>I've been using gluster for several distributed volumes for a long while, and am very happy with it.<br><br>However, I have stumbled upon a problem I was unable to find a solution to in the documentation and the archives of this list. Would be happy to find the right way to approach it.<br>
<br></div>I have a distributed-replicated volume that looks something like that (with 8 machines, rather then the 3 I put in the example):<br></div>Bricks:<br></div>Brick1: machine1:/data<br>Brick2: machine2:/data_replica<br>
Brick3: machine2:/data<br>Brick4: machine3:/data_replica<br>Brick5: machine3:/data<br>Brick6: machine1:/data_replica<br><br></div>I want to add machine4 with directories /data and /data_replica too, but I don't want it to be a replica of itself, so I want the two new bricks to be added as brick6 and brick7, and push current brick6 to be brick8.<br>
<br></div>Is there a way to do this?<br><br></div>My current solution was to try and remove-brick my brick5 and brick6 and later add them back with the two new bricks in the correct order. I started this process and it's been more than a day now and still the state of the removal (using "gluster volume remove-brick ... status") is that two machines have completed the rebalance and the rest have not started. <br>
<br></div><div>Calling "gluster volume info my_volume" still shows the removed bricks as part of the volume, so I assume it's not finished.<br><br></div><div>Many thanks in advance for your advice,<br></div>
<div>Ayelet<br></div></div></div>