<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">On 08/13/2015 07:30 PM, Lakshmi Anusha
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABOU80oG9irdeKQpgSwO3EvCGLvv7+zkYJUxVcgTXbDhWqo2OQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_extra"><font size="4">Hello,</font></div>
          <div class="gmail_extra"><font size="4"><br>
            </font></div>
          <div class="gmail_extra"><font size="4">We managed to collect
              below command outputs:</font></div>
          <div class="gmail_extra"><font size="4"><br>
            </font></div>
          <div class="gmail_extra"><font size="4">Brick1&gt; getfattr -d
              -m . -e hex
              /opt/lvmdir/c2/brick/logfiles/security/EVENT_LOG.xml</font></div>
          <div class="gmail_extra"><font size="4">getfattr: Removing
              leading '/' from absolute path names</font></div>
          <div class="gmail_extra"><font size="4"># file:
              opt/lvmdir/c2/brick/logfiles/security/EVENT_LOG.xml</font></div>
          <div class="gmail_extra"><font size="4">trusted.afr.dirty=0x000000000000000000000000</font></div>
          <div class="gmail_extra"><font size="4">trusted.bit-rot.version=0x000000000000000255cc791e000491d6</font></div>
          <div class="gmail_extra"><font size="4">trusted.gfid=0x700021362c414760993055a5b67aa942</font></div>
          <div class="gmail_extra"><font size="4"><br>
            </font></div>
          <div class="gmail_extra"><font size="4"><br>
            </font></div>
          <div class="gmail_extra"><font size="4">Brick2&gt; getfattr -d
              -m . -e hex
              /opt/lvmdir/c2/brick/logfiles/security/EVENT_LOG.xml</font></div>
          <div class="gmail_extra"><font size="4">getfattr: Removing
              leading '/' from absolute path names</font></div>
          <div class="gmail_extra"><font size="4"># file:
              opt/lvmdir/c2/brick/logfiles/security/EVENT_LOG.xml</font></div>
          <div class="gmail_extra"><font size="4">trusted.afr.c_glusterfs-client-11=0x000000060000000000000000</font></div>
          <div class="gmail_extra"><font size="4">trusted.bit-rot.version=0x000000000000000455cc7df0000bdc2e</font></div>
          <div class="gmail_extra"><font size="4">trusted.gfid=0x344107bb14544b0a95a0d0e3af230770</font></div>
        </div>
      </div>
    </blockquote>
    <br>
    <blockquote
cite="mid:CABOU80oG9irdeKQpgSwO3EvCGLvv7+zkYJUxVcgTXbDhWqo2OQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_extra"><font size="4"># Brick1&gt; gluster
              volume heal c_glusterfs info split-brain</font></div>
          <div class="gmail_extra"><font size="4">Brick
              oamhost:/opt/lvmdir/c2/brick/</font></div>
          <div class="gmail_extra"><font size="4">Number of entries in
              split-brain: 0</font></div>
          <div class="gmail_extra"><font size="4"><br>
            </font></div>
          <div class="gmail_extra"><font size="4">Brick
              oamhost:/opt/lvmdir/c2/brick/</font></div>
          <div class="gmail_extra"><font size="4">Number of entries in
              split-brain: 0</font></div>
          <div class="gmail_extra"><font size="4"><br>
            </font></div>
        </div>
      </div>
    </blockquote>
    <br>
    Why is the same hostname:brick being listed twice? Could you list
    the output of `gluster volume info c_glusterfs` ?<br>
    <br>
    <blockquote
cite="mid:CABOU80oG9irdeKQpgSwO3EvCGLvv7+zkYJUxVcgTXbDhWqo2OQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_extra"><font size="4"># </font></div>
          <div class="gmail_extra"><font size="4"># </font></div>
          <div class="gmail_extra"><font size="4"># Brick1&gt; gluster
              volume heal c_glusterfs info            </font></div>
          <div class="gmail_extra"><font size="4">Brick
              oamhost:/opt/lvmdir/c2/brick/</font></div>
          <div class="gmail_extra"><font size="4">/logfiles/security/EVENT_LOG.xml </font></div>
          <div class="gmail_extra"><font size="4">Number of entries: 1</font></div>
          <div class="gmail_extra"><font size="4"><br>
            </font></div>
          <div class="gmail_extra"><font size="4">Brick
              oamhost:/opt/lvmdir/c2/brick/</font></div>
          <div class="gmail_extra"><font size="4">Number of entries: 0</font></div>
          <div class="gmail_extra"><font size="4"><br>
            </font></div>
          <div class="gmail_extra"><font size="4">We couldn't collect
              getfattr output on parent directory.</font></div>
          <div class="gmail_extra"><font size="4">We will try to
              reproduce the problem again and provide you the logs.</font></div>
          <div class="gmail_extra"><font size="4"><br>
            </font></div>
        </div>
      </div>
    </blockquote>
    <br>
    <font size="4"><tt><br>
        Thanks, a reproducer +logs would really be helpful.<br>
        <br>
        <br>
      </tt></font>
    <blockquote
cite="mid:CABOU80oG9irdeKQpgSwO3EvCGLvv7+zkYJUxVcgTXbDhWqo2OQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_extra"><font size="4">Meanwhile, can you
              please check and let us know </font></div>
          <div class="gmail_extra"><font size="4">why "gluster volume
              heal c_glusterfs info split-brain" is showing number of
              entries in split-brain as zero?</font></div>
        </div>
      </div>
    </blockquote>
    <tt><font size="4"><br>
        Because the gfid-string of the parent directory seems to be
        missing from the &lt;brick&gt;/.glusterfs/indices/xattrop of the
        bricks. </font></tt><br>
    <br>
    <blockquote
cite="mid:CABOU80oG9irdeKQpgSwO3EvCGLvv7+zkYJUxVcgTXbDhWqo2OQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_extra"><font size="4">Regards,</font></div>
          <div class="gmail_extra"><font size="4">Anusha</font></div>
          <div class="gmail_extra"><br>
          </div>
          <div class="gmail_quote">On Wed, Aug 12, 2015 at 2:08 PM,
            Ravishankar N <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:ravishankar@redhat.com" target="_blank">ravishankar@redhat.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"><span class=""> <br>
                  <br>
                  <div>On 08/11/2015 03:28 PM, Lakshmi Anusha wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div><font size="4">From the extended attributes, an
                        entry split-brain seems to be appeared. Since
                        gfid is different for the original file and its
                        replica.</font></div>
                    <div><font size="4">Can you please let us know why
                        the split-brain files are not shown in "gluster
                        volume heal &lt;vol&gt; info split-brain"
                        command? <br>
                      </font></div>
                  </blockquote>
                  <br>
                </span> For gfid mismatches, 'info split-brain` should
                indicate that the parent directory of that file is in
                split-brain. Strange that it isn't.<br>
                If you still have the setup, can you provide the
                getfattr output of the parent dir on both bricks? Also,
                does `gluster vol heal &lt;vol&gt; info ` list the file
                or the parent dir?<span class=""><br>
                  <br>
                  <blockquote type="cite">
                    <div><font size="4">Kindly let us know if any known
                        issue exists.</font></div>
                  </blockquote>
                  <br>
                </span></div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>