<div dir="ltr"><div dir="ltr">Hi Martin,<div><br></div><div>The reset-brick command is introduced in 3.9.0 and not present in 3.7.6. You can try using the same replace-brick command with the force option even if you want to use the same name for the brick being replaced.</div><div>3.7.6 is EOLed long back and glusterfs-6 is the latest version with lots of improvements, bug fixes and new features. The release schedule can be found at [1]. Upgrading to one of the maintained branch is highly recommended.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2019 at 4:14 PM Martin Toth &lt;<a href="mailto:snowmailer@gmail.com" target="_blank">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"><div>I’ve read this documentation but step 4 is really unclear to me. I don’t understand related mkdir/rmdir/setfattr and so on.<div><br></div><div>Step 4:</div><div><i>Using the gluster volume fuse mount (In this example: /mnt/r2) set up metadata so that data will be synced to new brick (In this case it is from Server1:/home/gfs/r2_1 to Server1:/home/gfs/r2_5)<br></i><div><br></div><div>Why should I change trusted.non-existent-key on this volume? </div><div>It is even more confusing because other mentioned howtos does not contain this step at all.</div></div></div></blockquote><div>Those steps were needed in the older releases to set some metadata on the good bricks so that heal should not happen from the replaced brick to good bricks, which can lead to data loss. Since you are on 3.7.6, we have automated all these steps for you in that branch. You just need to run the replace-brick command, which will take care of all those things.</div><div><br></div><div>[1] <a href="https://www.gluster.org/release-schedule/" target="_blank">https://www.gluster.org/release-schedule/</a></div><div><br></div><div>Regards,</div><div>Karthik</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div><br></div><div>BR, </div><div>Martin<br><div><br><blockquote type="cite"><div>On 10 Apr 2019, at 11:54, Davide Obbi &lt;<a href="mailto:davide.obbi@booking.com" target="_blank">davide.obbi@booking.com</a>&gt; wrote:</div><br class="m_-1315826671575778933gmail-m_5334212843958941368Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><a href="https://docs.gluster.org/en/v3/Administrator%20Guide/Managing%20Volumes/#replace-faulty-brick" target="_blank">https://docs.gluster.org/en/v3/Administrator%20Guide/Managing%20Volumes/#replace-faulty-brick</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2019 at 11:42 AM Martin Toth &lt;<a href="mailto:snowmailer@gmail.com" target="_blank">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><br clear="all"><br>-- <br><div dir="ltr" class="m_-1315826671575778933gmail-m_5334212843958941368gmail_signature"><span style="display:block;font-size:11pt;font-family:&quot;Century Gothic&quot;;color:rgb(0,53,128)"><div style="color:rgb(0,53,128);font-family:Arial,Helvetica,sans-serif;font-weight:bold;font-size:15px"><div>Davide Obbi</div><div style="font-weight:normal;font-size:13px;color:rgb(0,174,239)">Senior System Administrator<br><br></div><div style="font-weight:normal;font-size:13px;color:rgb(102,102,102)"><a href="http://Booking.com" target="_blank">Booking.com</a> B.V.<br>Vijzelstraat 66-80  Amsterdam  1017HL Netherlands</div><div style="font-weight:normal;font-size:13px;color:rgb(102,102,102)"><span style="color:rgb(0,174,239)">Direct </span>+31207031558<br></div><div style="font-weight:normal;font-size:13px;color:rgb(102,102,102)"><div style="font-weight:bold;font-size:16px;color:rgb(0,53,128)"><a href="https://www.booking.com/" style="color:rgb(0,127,255);background-image:initial;background-position:initial;background-repeat:initial" target="_blank"><img src="https://bstatic.com/static/img/siglogo.jpg" alt="Booking.com" title="Booking.com"></a></div><div><span style="font-size:11px">Empowering people to experience the world since 1996</span></div><div><span style="font-size:11px">43 languages, 214+ offices worldwide, 141,000+ global destinations, 29 million reported listings <br></span><span style="font-size:11px">Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)</span></div></div></div></span></div>
</div></blockquote></div><br></div></div></div>_______________________________________________<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></div>