How Do I enable Safe Asynchronous Write With NFS?

Posted by Joe Swanson on Server Fault See other posts from Server Fault or by Joe Swanson
Published on 2013-10-24T19:15:19Z Indexed on 2013/10/24 21:57 UTC
Read the original article Hit count: 132

Filed under:

The NFSv3 documentation talks alot about the concept of "safe asynchronous writes" (last bullet of A1):

http://nfs.sourceforge.net/#section_a

This is NOT referring to the sync/async option in the server exports file (as the async option in the exports file is NOT safe). As I understand it, safe asynchronous writes is a hybrid between the sync/async exports option. It allows for a server to reply back without flushing to stable storage immediately, but the client will not remove the write request from cache until it has received confirmation that it has been committed to stable storage (and also detects if the server looses power/reboots). I believe that this option is set on the client side, but I have not come across any documentation that shows how to do this. Any ideas?

© Server Fault or respective owner

Related posts about nfs