"No such file or directory" errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux