Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2009 10:25:48 +0200 (CEST)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        freebsd-hackers@freebsd.org
Subject:   How to invalidate NFS read cache?
Message-ID:  <20090508101555.J47014@gwdu60.gwdg.de>

next in thread | raw e-mail | index | archive | help

Hello,

sporadically, I observe a strange but serious problem in our large NFS 
environment. NFS servers are Linux and OS X with StorNext/Xsan cluster 
filesystems, NFS clients Linux and FreeBSD.

NFS client A changes a file, but nfs client B (running on FreeBSD) does 
still see the old version. On the NFS server itself, everything looks 
fine.

Afaik the FreeBSD kernel invalidates the NFS read cache if file 
modification time on the server changed which should happen here but 
doesn't. Can I force FreeBSD (e.g. by sysctl setting) to read file buffers 
again unconditionally after vfs.nfs.access_cache_timeout seconds have 
passed?

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090508101555.J47014>