[Gluster-users] "No such file or directory" errors
Cameron Yule
cameron at cameronyule.com
Fri Jul 8 10:17:49 UTC 2011
Hey everyone,
I have an issue with my Gluster setup where if I delete a file on my
gluster server share then recreate it, the gluster client reports a
'no such file or directory' error. As a quick example:
server:/data/export$ touch TEST
server:/data/export$ ls -al
total 8
drwxr-xr-x 2 ubuntu ubuntu 4096 2011-07-06 09:28 .
drwxr-xr-x 3 ubuntu ubuntu 4096 2011-07-05 14:45 ..
-rw-r--r-- 1 ubuntu ubuntu 0 2011-07-06 09:28 TEST
client:/mnt/glusterfs$ ls -al
total 8
drwxr-xr-x 2 ubuntu ubuntu 4096 2011-07-06 09:28 .
drwxr-xr-x 4 root root 4096 2011-07-05 15:08 ..
-rw-r--r-- 1 ubuntu ubuntu 0 2011-07-06 09:28 TEST
server:/data/export$ rm TEST
server:/data/export$ touch TEST
server:/data/export$ ls -al
total 8
drwxr-xr-x 2 ubuntu ubuntu 4096 2011-07-06 09:29 .
drwxr-xr-x 3 ubuntu ubuntu 4096 2011-07-05 14:45 ..
-rw-r--r-- 1 ubuntu ubuntu 0 2011-07-06 09:29 TEST
client:/mnt/glusterfs$ ls -al
ls: TEST: No such file or directory
total 8
drwxr-xr-x 2 ubuntu ubuntu 4096 2011-07-06 09:29 .
drwxr-xr-x 4 root root 4096 2011-07-05 15:08 ..
-rw-r--r-- 1 ubuntu ubuntu 0 2011-07-06 09:29 TEST
There is no unexpected output from glusterfsd.vol.log on the server
when this error is reported. In the mnt-glusterfs.log file on the
client there is the following:
[2011-07-06 09:30:16] W [fuse-bridge.c:2604:fuse_xattr_cbk]
glusterfs-fuse: 126: GETXATTR() /TEST => -1 (No such file or
directory)
[2011-07-06 09:34:22] W [fuse-bridge.c:2604:fuse_xattr_cbk]
glusterfs-fuse: 142: GETXATTR() /TEST => -1 (No such file or
directory)
If I restart the Gluster server the problem will be fixed, however
this isn't a feasible solution for my needs. The servers are both
running Ubuntu 10.04LTS with Gluster 3.0.2, and my gluster
configuration is available here:
https://gist.github.com/cc04eb38e810c4f13eca.
Thanks,
Cameron
More information about the Gluster-users
mailing list