<div dir="ltr">Hi Martin,<div><br></div><div>After you add the new disks and creating raid array, you can run the following command to replace the old brick with new one:</div><div><br></div><div>- If you are going to use a different name to the new brick you can run</div><div>gluster volume replace-brick &lt;volname&gt; &lt;old-brick&gt; &lt;new-brick&gt; commit force</div><div><br></div><div>- If you are planning to use the same name for the new brick as well then you can use</div><div>gluster volume reset-brick &lt;volname&gt; &lt;old-brick&gt; &lt;new-brick&gt; commit force</div><div>Here old-brick &amp; new-brick&#39;s hostname &amp;  path should be same.</div><div><br></div><div>After replacing the brick, make sure the brick comes online using volume status.</div><div>Heal should automatically start, you can check the heal status to see all the files gets replicated to the newly added brick. If it does not start automatically, you can manually start that by running gluster volume heal &lt;volname&gt;.</div><div><br></div><div>HTH,</div><div>Karthik</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2019 at 3:13 PM Martin Toth &lt;<a href="mailto:snowmailer@gmail.com">snowmailer@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I am running replica 3 gluster with 3 bricks. One of my servers failed - all disks are showing errors and raid is in fault state.<br>
<br>
Type: Replicate<br>
Volume ID: 41d5c283-3a74-4af8-a55d-924447bfa59a<br>
Status: Started<br>
Number of Bricks: 1 x 3 = 3<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: node1.san:/tank/gluster/gv0imagestore/brick1<br>
Brick2: node2.san:/tank/gluster/gv0imagestore/brick1 &lt;— this brick is down<br>
Brick3: node3.san:/tank/gluster/gv0imagestore/brick1<br>
<br>
So one of my bricks is totally failed (node2). It went down and all data are lost (failed raid on node2). Now I am running only two bricks on 2 servers out from 3.<br>
This is really critical problem for us, we can lost all data. I want to add new disks to node2, create new raid array on them and try to replace failed brick on this node. <br>
<br>
What is the procedure of replacing Brick2 on node2, can someone advice? I can’t find anything relevant in documentation.<br>
<br>
Thanks in advance,<br>
Martin<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>