[Gluster-users] Gluster FUSE mount sometimes reports that files do not exist until ls is performed on parent directory
niels at nuvini.com
Mon Apr 16 08:24:30 UTC 2018
We have a 3-node gluster setup where gluster is both the server and the
Every few days we have some $random file or directory that does not exist
according to the FUSE mountpoint. When we try to access the file (stat,
cat, etc...) the filesystem reports that the file/directory does not exist,
even though it does. When we try to create the file/directory we receive
the following error which is also logged in
[2018-04-10 12:51:26.755928] E [MSGID: 113027] [posix.c:1779:posix_mkdir]
0-www-posix: mkdir of /storage/gluster/path/to/dir failed [File exists]
We don't see this issue on all of the servers, but only on the servers that
did not create the file/directory (so 2 of the 3 gluster nodes).
We found that this issue does not resolve itself automatically. However,
when we perform an ls command on the parent directory the issue will be
resolved for the other nodes.
We are running glusterfs 3.12.6 on debian 8
Mount-options in /etc/fstab:
/dev/storage-gluster/gluster /storage/gluster xfs rw,inode64,noatime,nouuid
localhost:/www /var/www glusterfs
gluster volume info www
Volume Name: www
Volume ID: e0579d53-f671-4868-863b-ba85c4cfacb3
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
We suspected that the md-cache could be the cause, but it does have a
timeout of 600 seconds so this would be strange since the issue can be
present for hours (at which point we did an ls to fix it).
Does anyone have an idea of what could be the cause of this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users