On Jun 24, 2008, at 1:39 AM, Harry Fu wrote: > Hi, there: > > When I disable a NFS share from the server, I still can access the > directory from the client. I guess it is a kind of cache. How can I > refresh the client so that the changes on the server can be reflected?
The NFS client does cache the contents of directories and files. These client caches will timeout and the server will be asked, via GETATTR, if the directory or file has been updated. If the server denies access at that point, the client will not provide access to the cached contents (and in fact it should flush the contents). Spencer