Concurrent NFS access

Posted by Kristian on Super User See other posts from Super User or by Kristian
Published on 2009-09-01T10:50:15Z Indexed on 2012/07/02 3:18 UTC
Read the original article Hit count: 243

Filed under:

Similar to Concurrent FTP access.

How is concurrent file access handled for NFS? Say that one client is updating/overwriting a file on a NFS server, and a process on the server is reading that same file directly from the file system at the same time. Is there some sort of atomic handling of file read/write in NFS/Linux or do I have to work with tmp files to ensure data consistency?

I'm worried that the process reading the file will get corrupt data.

© Super User or respective owner

Related posts about nfs