I have a trouble with NFS client-side attribute caching. I\'m using some servers, one is an NFS server and the others are NFS client servers.
All servers are Debian(lenn
AFAIK, the sync
and async
options aren't the source of attribute caching. Async
allows the server to delay saving data to server filesystem, e.g. it affects the write durability in case of NFS server failures, but if the NFS server is stable then async
does not affect the NFS clients.
There is a lookupcache=positive
NFS mount option that might be used to prevent negative lookup caching, e.g. the NFS returning "No such file or directory" when the file actually exists on the server. See Directory entry caching
in man nfs
.