<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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 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 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 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>
</body>
</html>