<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    hi Anthony,<br>
          Could you send the output of the getfattr -d -m . -e hex
    &lt;filepath&gt; on both the bricks and also the stat output on the
    both the backends. Give the outputs for its parent directory also.<br>
    <br>
    Pranith.<br>
    <br>
    On 09/07/2011 04:22 AM, Anthony Delviscio wrote:
    <blockquote
cite="mid:CAKE0inQy3Tjf3TB11kc+F_F-P7kN2CJ+eG+2FaRUxOe4tnzgwQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div id=":7t" class="ii gt">
        <div id=":7u">
          <p class="MsoNormal">I was wondering if anyone would be able
            to shed some light
            on how a file could end up with inconsistent md5sums on
            Gluster backend
            storage.</p>
          <p class="MsoNormal"> </p>
          <p class="MsoNormal">Our configuration is running on Gluster
            v3.1.5 in a distribute-replicate
            setup consisting of 8 bricks.</p>
          <p class="MsoNormal">Our OS is Red Hat 5.6 x86_64.<span>  </span>Backend
            storage is an ext3 RAID 5.</p>
          <p class="MsoNormal"> </p>
          <p class="MsoNormal">The 8 bricks are in RR DNS and are
            mounted for reading/writing
            via NFS automounts.<span>  </span></p>
          <p class="MsoNormal"> </p>
          <p class="MsoNormal">When comparing md5sums of the file from
            two different NFS
            clients, they were different.<span>  </span></p>
          <p class="MsoNormal"> </p>
          <p class="MsoNormal">The extended attributes of the files on
            backend storage are
            identical.<span>  </span>The file size and permissions
            are identical.<span>  </span>The stat data (excluding
            inode on backend storage file system) is identical.</p>
          <p class="MsoNormal">However, running md5sum on the two files,
            results in two
            different md5sums.</p>
          <p class="MsoNormal"> </p>
          <p class="MsoNormal">Copying both files to another
            location/server and running
            the md5sum also results in no change – they’re still
            different.</p>
          <p class="MsoNormal"> </p>
          <p class="MsoNormal">Gluster logs do not show anything related
            to the filename in
            question.<span>  </span>Triggering a self-healing
            operation didn’t seem to do anything and it may have to do
            with the fact that
            the extended attributes are identical.</p>
          <p class="MsoNormal"> </p>
          <p class="MsoNormal">If more information is required, let me
            know and I will try
            to accommodate.<span>  </span></p>
          <p class="MsoNormal">Thank you</p>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
    <br>
  </body>
</html>