NFS cache-cleaning command?

前端 未结 5 1736
刺人心
刺人心 2021-01-31 09:55

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

5条回答
  •  离开以前
    2021-01-31 10:36

    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.

提交回复
热议问题