<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 05/28/2017 10:31 PM, Markus
      Stockhausen wrote:<br>
    </div>
    <blockquote
cite="mid:12EF8D94C6F8734FB2FF37B9FBEDD173010E019815@EXCHANGE.collogia.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" id="owaParaStyle"></style>
      <div style="direction: ltr;font-family: Arial;color:
        #000000;font-size: 10pt;">Hi,
        <div>
          <div>
            <div style="font-family:Tahoma; font-size:13px">
              <div style="font-family:Tahoma; font-size:13px">
                <div style="font-family:Tahoma; font-size:13px">
                  <div style="font-family:Tahoma; font-size:13px">
                    <div style="font-family:Tahoma; font-size:13px">
                      <div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div><br>
        </div>
        <div>I'm fairly new to gluster and quite happy with it. We are
          using it in an OVirt </div>
        <div>environment that stores <span style="font-size: 10pt;">its
            VM images </span><span style="font-size: 10pt;">in the
            gluster. Setup is as follows and</span></div>
        <div>
          <div style="font-size: 13.3333px;"><span style="font-size:
              10pt;">Clients mount the volume with gluster native fuse
              protocol. </span></div>
        </div>
        <div><span style="font-size: 10pt;"><br>
          </span></div>
        <div><span style="font-size: 10pt;">3 storage nodes: Centos 7,
            Gluster 3.8.12 (managed by me), 2 bricks each</span></div>
        <div><span style="font-size: 10pt;">5 virtualization nodes:
            Centos 7, Gluster 3.8.12 (managed by OVirt engine)</span></div>
        <div><br>
        </div>
        <div>After todays reboot of one of the storage nodes the
          recovery did not finish</div>
        <div>successfully. The state of one brick remained in:</div>
        <div><br>
        </div>
        <div>
          <div>[root@cfiler301 dom_md]# gluster volume heal gluster1
            info</div>
          <div><span style="font-size: 10pt;">...</span></div>
          <div><span style="font-size: 10pt;">Brick
              cfilers201:/var/data/brick1/brick</span></div>
          <div>/b1de7818-020b-4f47-938f-f3ebb51836a3/dom_md/ids</div>
          <div>Status: Connected</div>
          <div>Number of entries: 1</div>
        </div>
        <div><span style="font-size: 10pt;">...</span></div>
        <div><br>
        </div>
        <div>The above file is used by sanlock runing on the OVirt nodes
          to <span style="font-size: 10pt;">handle VM </span></div>
        <div><span style="font-size: 10pt;">image locking. </span><span
            style="font-size: 13.3333px;">Issuing a manual heal with
            "gluster volume heal gluster1" fixed </span></div>
        <div><span style="font-size: 13.3333px;">the problem </span><span
            style="font-size: 13.3333px;">but the unsynced entry
            reappeared a few seconds later. </span></div>
        <div><span style="font-size: 13.3333px;"><br>
          </span></div>
        <div><span style="font-size: 13.3333px;">My question: Should
            this situation be recovered automatically and if yes</span></div>
        <div><span style="font-size: 13.3333px;">what might be the
            culprit?</span></div>
      </div>
    </blockquote>
    <br>
    We have had this observed by our QE guys while testing too, but in
    all cases, there was an intermittent disconnect from the fuse mount
    to the bricks, leading to the 'ids' file needing heal (and being
    healed on reconnect) again and again.<br>
    Perhaps you should check if and why the mount is getting
    disconnected from the bricks.<br>
    <br>
    HTH,<br>
    Ravi<br>
    <blockquote
cite="mid:12EF8D94C6F8734FB2FF37B9FBEDD173010E019815@EXCHANGE.collogia.de"
      type="cite">
      <div style="direction: ltr;font-family: Arial;color:
        #000000;font-size: 10pt;">
        <div><span style="font-size: 13.3333px;"><br>
          </span></div>
        <div><span style="font-size: 13.3333px;">Best regards.</span></div>
        <div><span style="font-size: 13.3333px;"><br>
          </span></div>
        <div><span style="font-size: 13.3333px;">Markus</span></div>
        <div><span style="font-size: 13.3333px;"><br>
          </span></div>
        <div><span style="font-size: 13.3333px;">P.S. </span><span
            style="font-size: 13.3333px;">I finally </span><span
            style="font-size: 13.3333px;">fixed the issue by remounting
            the filesystems (on Ovirt nodes) and </span></div>
        <div><span style="font-size: 13.3333px;">so </span><span
            style="font-size: 13.3333px;">sanlock </span><span
            style="font-size: 13.3333px;">was restarted too.</span></div>
        <div><span style="font-size: 13.3333px;"><br>
          </span></div>
        <div><br>
        </div>
        <div><span style="font-size: 13.3333px;"> </span></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>