<div dir="ltr">







<p class="">Assume I have 4 bricks in a replica (count=2) volume:</p>
<p class="">Volume Name: data-vol</p>
<p class="">Number of Bricks: 2 x 2 = 4</p>
<p class="">Brick1: <a href="http://192.168.1.101/brick">192.168.1.101/brick</a></p>
<p class="">Brick2: <a href="http://192.168.1.102/brick">192.168.1.102/brick</a></p>
<p class="">Brick3: <a href="http://192.168.1.103/brick">192.168.1.103/brick</a></p><p class="">Brick4: <a href="http://192.168.1.104/brick">192.168.1.104/brick</a></p>
<p class="">Something happens to Brick3 and I want to replace it by <a href="http://192.168.1.105/brick">192.168.1.105/brick</a></p>
<p class="">What command should I use to replace <a href="http://192.168.1.103/brick">192.168.1.103/brick</a> by <a href="http://192.168.1.105/brick">192.168.1.105/brick</a>?</p>
<p class="">Can I use:</p>
<p class="">gluster volume replace-brick data-vol <a href="http://192.168.1.103/brick">192.168.1.103/brick</a> <a href="http://192.168.1.105/brick">192.168.1.105/brick</a> commit force? </p><p class="">Or I have to start _replace-brick_ first then commit it?</p>
<p class="">Thanks,<br></p></div>