[CentOS] I need some NFS explanations, please.

Tue May 20 15:28:24 UTC 2008
Bart Schaefer <barton.schaefer at gmail.com>

On Tue, May 20, 2008 at 8:22 AM, Steve Campbell <campbell at cnpapers.com> wrote:
> I next go to one of the clients and "cat" the file, and then do another "ls
> -al". Now the server and this client agree on the file attributes, but not
> on the second client which shows the original wrong result still. So now I
> think it's a client caching problem.
> Can anyone explain the above situation and perhaps some settings that will
> resolve this without requiring the nfs client to open the file in some way
> before it gets the proper file attributes?

Try explicitly adding "noac" (no attribute caching) to the mount
definition in /etc/fstab.  If you're doing this as an autofs mount, it
goes in /etc/auto.* somewhere, with a slightly different syntax.