<div class="gmail_quote"><div>Hi Ken,</div><div><br></div><div>Find the answers inline.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im">I installed glusterfs (version 3.1.3) with zfs-fuse (0.6.9) as the underlying filesystem.<br><br></div>After renaming a file, I found the file is duplicated.<div class="im"><br></div>
</div></blockquote><div>As per the details given below, that is possible.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im">
<br>Is any way to fix this problem?<br></div></div></blockquote><div><br></div><div>Use a posix complaint filesystem as the backend.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im"><br>BTW, I found the ACL list of test1.cc in /tank/exp2 looks different:<br><span style="background-color:rgb(255, 204, 102)">----------  1 root root 0 2011-05-31 11:38 test1.cc</span><br>




If I use ext4 as the underlying filesystem, the ACL list will look like:<br></div><span style="background-color:rgb(255, 204, 102)"><div class="im">---------T 1 root root 0 2011-05-31 11:38 test1.cc<br><br></div><span><span style="background-color:rgb(255, 255, 255)">I&#39;m wondering what does the character &#39;T&#39; in the ACL list mean. <br>
<div class="im">
Is it related to the problem?<br>


<br></div></span></span></span></div></blockquote><div><br></div><div>Yes. That is the reason of the problem. The character &#39;T&#39; in the ACL list means its having a stickybit set. (perm 01000). We treat files with permission 01000 (ie, ---------T type) as link files in &#39;cluster/distribute&#39; translator and filter it out in &#39;readdir()&#39; call. If the permission of that link file is different, then it treats it as a regular file, and hence readdir() sends duplicate entries for the same file.</div>
<div><br></div><div>Regards,</div><div>Amar</div><div> </div><div><br></div></div>