Lazyweb: Educate me on NFS
May. 22nd, 2007 10:06 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Google and Wikipedia aren't coming through for me on this one:
Imagine that we have a utility which, in the course of its duties, reads and writes files to a file system.
What sorts of behaviors would make it not NFS-safe? I thought NFS was totally transparent to man and beast alike, but perhaps this is not quite so?
Imagine that we have a utility which, in the course of its duties, reads and writes files to a file system.
What sorts of behaviors would make it not NFS-safe? I thought NFS was totally transparent to man and beast alike, but perhaps this is not quite so?
no subject
Date: 2007-05-22 02:29 pm (UTC)no subject
Date: 2007-05-22 03:23 pm (UTC)By default more NFS setups are not well optimized for speed or usability (you have to tune the settings in /etc/exports). You may or may not want the exported directories to be able to be used with root privs. You may need to deal with "what if" exception conditions in your process start-up. In my experience, a process will simply block forever if the NFS mount is not available (such as if the machine goes away, or connectivity to the machine goes away while it is mounted).
Also, you can't ever have multiple clients append to the same file via NFS.
This site will help you:
http://nfs.sourceforge.net/
no subject
Date: 2007-05-22 03:10 pm (UTC)