<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thanks Strahil,</p>
    <p>it worked like a charm.<br>
    </p>
    <p>On 7/31/21 5:21 PM, Strahil Nikolov wrote:
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">You most probably already have an /etc/fstab entry, so just recreate the LV, recreate the FS (mkfs.xfs -i size=512 /path/to/lv) and mount it.


For source brick and new brick , just use 'hydra4:/gluster1/data' .

Don't forget to test on non-prod first ;)


Best Regards,
Strahil Nikolov





В събота, 31 юли 2021 г., 19:50:31 ч. Гринуич+3, Valerio Luccio <a class="moz-txt-link-rfc2396E" href="mailto:valerio.luccio@nyu.edu"><valerio.luccio@nyu.edu></a> написа: 






Thanks Strahil,

I have a couple of questions. 


My /gluster1 is mounted, but no "data" folder, I suppose that will be created when I reset the brick. I see two versions of the reset-brick operations:

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">  gluster reset-brick <VOLNAME> <SOURCE-BRICK> start
gluster reset-brick <VOLNAME> <SOURCE-BRICK> <NEW-BRICK> commit

</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">
I assume I should use the first version. When I specify the <SOURCE-BRICK> do I just put the number or do I have to include the "Brick" prefix ?

As for the brick layout, you hit the nail on the head. My VMs' went down and it was very painful to get everything back up to speed. I thought I had implemented the correct layout, I guess I was wrong. Which one do you suggest ?

Thanks so much,


On 7/31/21 10:54 AM, Strahil Nikolov wrote:


</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">  
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">Yep, you have to bring back hydra4:/gluster1/data 



You can mount again /gluster1/data (don't forget SELINUX) and then use gluster's reset-brick to rebuild that brick.




Most probably you have an entry that was saved on hydra4:/gluster1/data and the arbiter but was not pushed to the surviving brick (based on the entry in the arbiter)




Usually, I use method 2 from <a class="moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.gluster.org_en_latest_Troubleshooting_gfid-2Dto-2Dpath_&d=DwIFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY&m=FMO4OcFZ-117zmwVGZre6m7D-QHTvX_5dvOJrLbalMo&s=WMkvh31SMb6jhuAJ-V5bC1pOtZX6EuVm-ARdKYwg3TE&e=">https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.gluster.org_en_latest_Troubleshooting_gfid-2Dto-2Dpath_&d=DwIFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=zZK0dca4HNf-XwnAN9ais1C3ncS0n2x39pF7yr-muHY&m=FMO4OcFZ-117zmwVGZre6m7D-QHTvX_5dvOJrLbalMo&s=WMkvh31SMb6jhuAJ-V5bC1pOtZX6EuVm-ARdKYwg3TE&e=</a>  to identify the file and then you can check the status of that file on the bricks (and if necessary restore from backup). You should do that only after you have brought back hydra4:/gluster1/data to the volume.




You should also reconsider the brick layout, as in some cases a single hydra failure (whole server) will kill a subvolume and all VMs' disks on that subvolume will be unavailable.







Best Regards,

Strahil Nikolov


</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">  
  
On Sat, Jul 31, 2021 at 2:18, Valerio Luccio

<a class="moz-txt-link-rfc2396E" href="mailto:valerio.luccio@nyu.edu"><valerio.luccio@nyu.edu></a> wrote:


  
  
  
Strahil,

did some more digging into the heal info output.

Found also the following:

</pre>
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">  [...]
Brick hydra4:/gluster1/data                                                                                                                                                           
Status: Transport endpoint is not connected                                                                                                                                           
Number of entries: -                                                                                                                                                                  
                                                                                                                                                                                       
Brick hydra3:/arbiter/2                                                                                                                                                               
<gfid:2aa223b0-77f5-441e-bc76-34c8d459eeaa> 
[...]

</pre>
          </blockquote>
          <pre class="moz-quote-pre" wrap="">
So, to augment what I wrote before, the errors appear in "Brick hydra3:/gluster3/data" and "Brick hydra3:/arbiter/2", plus that "Transport endpoint is not connected" for "Brick hydra4:/gluster1/data".

I need to add that hydra4:/gluster1 is the RAID that had major hardware failure.




  
-- 

As a result of Coronavirus-related precautions, NYU and the Center for Brain Imaging operations will be managed remotely until further notice. 
All telephone calls and e-mail correspondence are being monitored remotely during our normal business hours of 9am-5pm, Monday through Friday. 
  
For MRI scanner-related emergency, please contact: Keith Sanzenbach at  <a class="moz-txt-link-abbreviated" href="mailto:keith.sanzenbach@nyu.edu">keith.sanzenbach@nyu.edu</a>  and/or Pablo Velasco at  <a class="moz-txt-link-abbreviated" href="mailto:pablo.velasco@nyu.edu">pablo.velasco@nyu.edu</a> 
For computer/hardware/software emergency, please contact: Valerio Luccio at  <a class="moz-txt-link-abbreviated" href="mailto:valerio.luccio@nyu.edu">valerio.luccio@nyu.edu</a> 
For TMS/EEG-related emergency, please contact: Chrysa Papadaniil at  <a class="moz-txt-link-abbreviated" href="mailto:chrysa@nyu.edu">chrysa@nyu.edu</a> 
For CBI-related administrative emergency, please contact: Jennifer Mangan at  <a class="moz-txt-link-abbreviated" href="mailto:jennifer.mangan@nyu.edu">jennifer.mangan@nyu.edu</a> 

  

Valerio Luccio     (212) 998-8736 
Center for Brain Imaging     4 Washington Place, Room 158 
New York University     New York, NY 10003 

  

</pre>
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">"In an open world, who needs windows or gates ?"
</pre>
          </blockquote>
          <pre class="moz-quote-pre" wrap="">
  
  
  
  
  
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">




</pre>
      </blockquote>
    </p>
    <p><br>
    </p>
    <div class="moz-signature">-- <br>
      <table bordersize="0" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td>As a result of Coronavirus-related precautions, NYU and
              the Center for Brain Imaging operations will be managed
              remotely until further notice.</td>
          </tr>
          <tr>
            <td>All telephone calls and e-mail correspondence are being
              monitored remotely during our normal business hours of
              9am-5pm, Monday through Friday.</td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td>For MRI scanner-related emergency, please contact: Keith
              Sanzenbach at <a class="moz-txt-link-abbreviated" href="mailto:keith.sanzenbach@nyu.edu">keith.sanzenbach@nyu.edu</a> and/or Pablo
              Velasco at <a class="moz-txt-link-abbreviated" href="mailto:pablo.velasco@nyu.edu">pablo.velasco@nyu.edu</a></td>
          </tr>
          <tr>
            <td>For computer/hardware/software emergency, please
              contact: Valerio Luccio at <a class="moz-txt-link-abbreviated" href="mailto:valerio.luccio@nyu.edu">valerio.luccio@nyu.edu</a></td>
          </tr>
          <tr>
            <td>For TMS/EEG-related emergency, please contact: Chrysa
              Papadaniil at <a class="moz-txt-link-abbreviated" href="mailto:chrysa@nyu.edu">chrysa@nyu.edu</a></td>
          </tr>
          <tr>
            <td>For CBI-related administrative emergency, please
              contact: Jennifer Mangan at <a class="moz-txt-link-abbreviated" href="mailto:jennifer.mangan@nyu.edu">jennifer.mangan@nyu.edu</a></td>
          </tr>
        </tbody>
      </table>
      <p>
      </p>
      <table style="color:gray" bordersize="0" cellspacing="0"
        cellpadding="0">
        <tbody>
          <tr>
            <td>Valerio Luccio</td>
            <td>   </td>
            <td>(212) 998-8736</td>
          </tr>
          <tr>
            <td>Center for Brain Imaging</td>
            <td>   </td>
            <td>4 Washington Place, Room 158</td>
          </tr>
          <tr>
            <td>New York University</td>
            <td>   </td>
            <td>New York, NY 10003</td>
          </tr>
        </tbody>
      </table>
      <p>
      </p>
      <blockquote>"In an open world, who needs windows or gates ?"</blockquote>
    </div>
  </body>
</html>