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
You're seeing the effects of NFS's attribute cache. See man nfs, and check out DATA AND METADATA COHERENCE.
NFS by default caches attributes for a minimum of 30 seconds (acregmin and acdirmin) and a maximum of 60 seconds (acregmax and acdirmax). You can override all of these together with actimeo, or disable the attribute cache entirely with noac. With the noac mount option, the behaviour described by the OP goes away, but hits performance.
lookupcache=positive is useful if you're just looking for the appearance of new files, but deletions will still go through the attribute cache.