<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 12/01/2011 11:33 PM, anthony garnier wrote:
    <blockquote cite="mid:BAY159-W1356860C952E1AB0A0F6C5AEB10@phx.gbl"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        So if I understand well, a value different than
        0sAAAAAAAAAAAAAAAA for the attribute
        trusted.afr.poolsave-client-0 indicate split brain.<br>
        <br>
        Thx<br>
        <br>
        <div>&gt; Date: Thu, 1 Dec 2011 11:23:29 -0500<br>
          &gt; From: <a class="moz-txt-link-abbreviated" href="mailto:jdarcy@redhat.com">jdarcy@redhat.com</a><br>
          &gt; To: <a class="moz-txt-link-abbreviated" href="mailto:sokar6012@hotmail.com">sokar6012@hotmail.com</a><br>
          &gt; CC: <a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
          &gt; Subject: Re: [Gluster-users] Detecting split brain<br>
          &gt; <br>
          &gt; On Thu, 1 Dec 2011 16:00:09 +0000<br>
          &gt; anthony garnier <a class="moz-txt-link-rfc2396E" href="mailto:sokar6012@hotmail.com">&lt;sokar6012@hotmail.com&gt;</a> wrote:<br>
          &gt; <br>
          &gt; &gt; <br>
          &gt; &gt; Hi,<br>
          &gt; &gt; <br>
          &gt; &gt; I got a lot of files with attributes :
          0sAAAAAAAAAAAAAAAAA<br>
          &gt; &gt; <br>
          &gt; &gt; Serv 1 :<br>
          &gt; &gt; # file: tbo_rmr_globale_log_11-04-07_15h43m48s.log<br>
          &gt; &gt; trusted.afr.poolsave-client-0=0sAAAAAAAAAAAAAAAA<br>
          &gt; &gt; trusted.afr.poolsave-client-1=0sAAAAAAAAAAAAAAAA<br>
          &gt; &gt; trusted.gfid=0sfm7CRROuQ4+wuQfmHjFCdg==<br>
          &gt; &gt; <br>
          &gt; &gt; Serv 2 :<br>
          &gt; &gt; # file: tbo_rmr_globale_log_11-04-07_15h43m48s.log<br>
          &gt; &gt; trusted.afr.poolsave-client-0=0sAAAAAAAAAAAAAAAA<br>
          &gt; &gt; trusted.afr.poolsave-client-1=0sAAAAAAAAAAAAAAAA<br>
          &gt; &gt; trusted.gfid=0sfm7CRROuQ4+wuQfmHjFCdg==<br>
          &gt; &gt; <br>
          &gt; &gt; Does it mean that those files need Self-Healing ? I
          use GlusterFS<br>
          &gt; &gt; 3.2.3<br>
          &gt; <br>
          &gt; This is actually normal. For some reason that would
          probably make me<br>
          &gt; throw up if I knew it, getfattr misreports
          0x000000000000000000000000<br>
          &gt; as 0sAAAAAAAAAAAAAAAA (which would be
          0x404040404040404040404040) if<br>
          &gt; you don't give it the "-e hex" flag. The value is
          actually three<br>
          &gt; four-byte integers, and if they're zero it means there
          are no pending<br>
          &gt; operations. Any *other* value is likely to indicate split
          brain.<br>
        </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://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a>
</pre>
    </blockquote>
    Small Correction:<br>
    Different value than 0sAAA.. means there are pending operations.<br>
    If you dump the values with -e hex option and there should be 24
    digits, first 8 represent pending operations on the data of the
    files (write/truncate). next 8 represent pending operations on
    metadata (permissions, ownership etc) next 8 represent pending
    operations on entry (creation/deletion/rename of a file inside that
    directory). Now if both data/metadata/entry digits are non-zero on a
    file then that will be split-brain.<br>
    Example:<br>
    Data split-brain:<br>
    &nbsp;trusted.afr.poolsave-client-0=0s000000010000000000000000<br>
    &nbsp;trusted.afr.poolsave-client-1=0s000000200000000000000000<br>
    <br>
    Thanks<br>
    Pranith<br>
  </body>
</html>