Re: NFS file cache



Hi,

pechoi@xxxxxxx wrote:
Hi,
I am trying to failover 2 RW NFS partition. The problem is the
generation number. I think if I can make clients to request NFS server
everytime it read it, I think it will work. So I am looking for way to
disable NFS cache.
How do I do that?
If I use option to mount actimeo=0, is that same thing as disabling
cache?

use the noac option (man 5 nfs) to disable all attribute caching.

bye, gk
.



Relevant Pages

  • Re: local network throughput issues
    ... KBytes/sec over my gigabit switched network. ... not even 4 KB/s throughput over ssh. ... NFS is fast! ... NFS (unless you're explicitly disabling it) is UDP-based, ...
    (freebsd-hackers)
  • Re: How to disable NFS fnctl in /etc/fstab?
    ... corruption due to NFS fnctl lock disabled? ... Be sure to look at line 65 of the Makefile. ... Finally, this seems relevant (arguing "do not disable fcntl over NFS!"), ... I think you're asking for trouble disabling fcntl on NFS; ...
    (freebsd-stable)
  • Re: HEADS UP: New ZFS in the tree.
    ... fsync-on-close semantics mandated by NFS, among other things, will not ... I do not recomment to disable ZIL in general. ... Disabling the ZIL can cause corruption for NFS clients in the case where a reply to the client is done before the server crashes, and the server crashes before the data is commited to stable storage. ...
    (freebsd-current)
  • NFS file cache
    ... I am trying to failover 2 RW NFS partition. ... I think if I can make clients to request NFS server ... everytime it read it, ... disable NFS cache. ...
    (linux.redhat)