<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Anirban,<br>
      Thanks for taking the time off to file the bugzilla bug report.
      The fix has been sent for review upstream
      (<a class="moz-txt-link-freetext" href="http://review.gluster.org/#/c/6862/">http://review.gluster.org/#/c/6862/</a>). Once it is merged, I will
      backport it to 3.4 as well.&nbsp;&nbsp;&nbsp; <br>
      Regards,<br>
      Ravi<br>
      <br>
      On 01/28/2014 02:07 AM, Chalcogen wrote:<br>
    </div>
    <blockquote cite="mid:52E6C37A.2010803@yahoo.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <font color="#000099">Hi,<br>
        <br>
        I am working on a twin-replicated setup (server1 and server2)
        with glusterfs 3.4.0. I perform the following steps:<br>
        <br>
      </font>
      <ol>
        <li><font color="#000099">Create a distributed volume 'testvol'
            with the XFS brick server1:/brick/testvol on server1, and
            mount it using the glusterfs native client at /testvol.<br>
            <br>
          </font></li>
        <li><font color="#000099">I copy the following file to /testvol:</font><br>
          <big><font face="Default Sans
              Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><big><font
                  color="#000000" face="Default Monospace,Courier
                  New,Courier,monospace">server1:~$ ls -l /bin/su</font></big></font></big><br>
          <big><font face="Default Sans
              Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><big><font
                  color="#000000" face="Default Monospace,Courier
                  New,Courier,monospace">-rw<strong>s</strong>r-xr-x 1
                  root root 84742 Jan 17&nbsp; 2014 /bin/su</font></big></font></big><br>
          <big><font face="Default Sans
              Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><big><font
                  color="#000000" face="Default Monospace,Courier
                  New,Courier,monospace">server1:~$ cp -a /bin/su
                  /testvol</font></big></font></big><br>
          <br>
        </li>
        <li><font color="#000099">Within /testvol if I list out the file
            I just copied, I find its attributes intact.</font><br>
          <br>
        </li>
        <li><font color="#000099">Now, I add the XFS brick
            server2:/brick/testvol.</font><br>
          <big><font face="Default Sans
              Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><big><font
                  color="#000000" face="Default Monospace,Courier
                  New,Courier,monospace">server2:~$ gluster volume
                  add-brick testvol</font></big></font></big> replica 2
          server2:/brick/testvol<br>
          <font color="#000099"><br>
            At this point, heal kicks in and the file is replicated on
            server 2.<br>
            <br>
          </font></li>
        <li><font color="#000099">If I list out su in testvol on either
            server now, now, this is what I see.</font><br>
          <font face="Courier New, Courier, monospace"><big><font
                size="2"><big><font color="#000000">server1:~$ ls -l
                    /testvol/su</font></big></font></big><br>
            <big><font size="2"><big><font color="#000000">-rw<strong>s</strong>r-xr-x

                    1 root root 84742 Jan 17&nbsp; 2014 /bin/su</font></big></font></big><br>
            <br>
            <big><font size="2"><big><font color="#000000">server2:~$ ls
                    -l /testvol/su</font></big></font></big><br>
            <big><font size="2"><big><font color="#000000">-rw<strong>x</strong>r-xr-x

                    1 root root 84742 Jan 17&nbsp; 2014 /bin/su</font></big></font></big></font></li>
      </ol>
      <big><font face="Default Sans
          Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><big><font
              color="#000000" face="Default Monospace,Courier
              New,Courier,monospace"><font color="#000099"
                face="sans-serif">That is, the 's' file mode gets
                changed to plain 'x' - meaning, all the attributes are
                not preserved upon heal completion. Would you consider
                this a bug? Is the behavior different on a higher
                release?<br>
                <br>
                Thanks a lot.<br>
                Anirban</font><br>
            </font></big></font></big> <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://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>