<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12pt">Hi Ravi, <br><br>Many thanks for the super-quick turnaround on this!<br><div>Didn't know about this one quirk os chown, so thanks for that as well.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;">Anirban<br><span></span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, 30 January 2014 9:22 AM, Ravishankar N <ravishankar@redhat.com> wrote:<br> </font> </div>
<div class="y_msg_container"><div id="yiv9054971278"><div>
<div class="yiv9054971278moz-cite-prefix">Hi Anirban,<br clear="none">
Thanks for taking the time off to file the bugzilla bug report.
The fix has been sent for review upstream
(<a rel="nofollow" shape="rect" class="yiv9054971278moz-txt-link-freetext" target="_blank" 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. <br clear="none">
Regards,<br clear="none">
Ravi<br clear="none">
<div class="yiv9054971278yqt3332959066" id="yiv9054971278yqtfd36938"><br clear="none">
On 01/28/2014 02:07 AM, Chalcogen wrote:<br clear="none">
</div></div><div class="yiv9054971278yqt3332959066" id="yiv9054971278yqtfd14815">
<blockquote type="cite">
</blockquote></div></div><div class="yiv9054971278yqt3332959066" id="yiv9054971278yqtfd93020"><div><font color="#000099">Hi,<br clear="none">
<br clear="none">
I am working on a twin-replicated setup (server1 and server2)
with glusterfs 3.4.0. I perform the following steps:<br clear="none">
<br clear="none">
</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 clear="none">
<br clear="none">
</font></li><li><font color="#000099">I copy the following file to /testvol:</font><br clear="none">
<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 clear="none">
<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<b>s</b>r-xr-x 1
root root 84742 Jan 17 2014 /bin/su</font></big></font></big><br clear="none">
<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 clear="none">
<br clear="none">
</li><li><font color="#000099">Within /testvol if I list out the file
I just copied, I find its attributes intact.</font><br clear="none">
<br clear="none">
</li><li><font color="#000099">Now, I add the XFS brick
server2:/brick/testvol.</font><br clear="none">
<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 clear="none">
<font color="#000099"><br clear="none">
At this point, heal kicks in and the file is replicated on
server 2.<br clear="none">
<br clear="none">
</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 clear="none">
<font face="Courier New, Courier, monospace"><big><font size="2"><big><font color="#000000">server1:~$ ls -l
/testvol/su</font></big></font></big><br clear="none">
<big><font size="2"><big><font color="#000000">-rw<b>s</b>r-xr-x
1 root root 84742 Jan 17 2014 /bin/su</font></big></font></big><br clear="none">
<br clear="none">
<big><font size="2"><big><font color="#000000">server2:~$ ls
-l /testvol/su</font></big></font></big><br clear="none">
<big><font size="2"><big><font color="#000000">-rw<b>x</b>r-xr-x
1 root root 84742 Jan 17 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 clear="none">
<br clear="none">
Thanks a lot.<br clear="none">
Anirban</font><br clear="none">
</font></big></font></big> <br clear="none">
<fieldset class="yiv9054971278mimeAttachmentHeader"></fieldset>
<br clear="none">
<pre>_______________________________________________
Gluster-users mailing list
<a rel="nofollow" shape="rect" class="yiv9054971278moz-txt-link-abbreviated" ymailto="mailto:Gluster-users@gluster.org" target="_blank" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a rel="nofollow" shape="rect" class="yiv9054971278moz-txt-link-freetext" target="_blank" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
<br clear="none">
</div></div></div><br><br></div> </div> </div> </div> </div></body></html>