NFS consistency problem?

Charland, Denis Denis.Charland at imi.cnrc-nrc.gc.ca
Mon May 7 09:19:59 EDT 2007


> 
> Dear all,
> 
> I'm using nfs4 with gss/kerberos authentification and I'm 
> having a consistency 
> (cache coherency?) problem.
> 
> One user A modifies a file on one computer, a second user B 
> views this file 
> but is left with a non-updated version of this file. 
> 
> A umount/mount of the directory solves the issue. Also, if 
> user B now decides 
> to modify the (non-updated) file and saves the modification, 
> user As changes 
> get overridden and from then on A as well as B see the 
> modifications of B.
> 
> Both, clients as well as server are setup with Debian Sarge, 
> the underlying 
> file system on the server is ext3, the nfs server is the 
> kernel-server (v 
> 1.0.10). Server as well as clients use nfs-utils v1.0.10.
> 
> exports are done with option
>   async rw fsid=0 insecure no_subtree_check anonuid=65534 
> anongid=65534
> 
> mount is done with options
>   auto rw sec=krb4
> 
> I've tried to find info on this, but maybe I'm just to 
> unfamiliar with the 
> vocabulary so that I don't get any useful results. If this is a known 
> problem, could someone point me to the correct search phrase, please?
> 
> Any ideas?
> 
> Kind regards,
> 

Jonathan,

Try to export your filesystem using "sync" instead of "async" to see if it makes a difference.

Denis


More information about the NFSv4 mailing list