[Gluster-users] Files are duplicated after renaming (with glusterfs+zfs-fuse)

劉效飛 f92019 at gmail.com
Tue May 31 05:19:00 UTC 2011


Hi all,

I installed glusterfs (version 3.1.3) with zfs-fuse (0.6.9) as the
underlying filesystem.

After renaming a file, I found the file is duplicated.


Following is my test scenario.

root at ubuntu:/# zpool create tank /dev/sdb
root at ubuntu:/# gluster volume create test-volume ubuntu:/tank/exp1
ubuntu:/exp2
root at ubuntu:/# gluster volume start test-volume
root at ubuntu:/# mount -t glusterfs ubuntu:/test-volume /mnt
root at ubuntu:/# cd /mnt
root at ubuntu:/mnt# touch test.cc
root at ubuntu:/mnt# mv test.cc test1.cc
root at ubuntu:/mnt# ll
total 7
drwxr-xr-x   2 root root       3 2011-05-31 11:38 ./
drwxr-xr-x 29 root root 4096 2011-05-27 13:40 ../
-rw-r--r--     1 root root      0  2011-05-31 11:38 test1.cc
-rw-r--r--     1 root root      0  2011-05-31 11:38 test1.cc

Is any way to fix this problem?

BTW, I found the ACL list of test1.cc in /tank/exp2 looks different:
----------  1 root root 0 2011-05-31 11:38 test1.cc
If I use ext4 as the underlying filesystem, the ACL list will look like:
---------T 1 root root 0 2011-05-31 11:38 test1.cc

I'm wondering what does the character 'T' in the ACL list mean.
Is it related to the problem?

Thank you!

Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110531/1d5b3259/attachment.html>


More information about the Gluster-users mailing list