Difference between sync & async in nfs

Hi All....

This is related to exporting a file system through nfs. Just wanted to understand the significance of sync/async in nfs.

We give this entry in /etc/export file. What is the difference between these two.

Any hep is appreciated.

Regards,
Amol.

async means that the NFS server will acknowledge data before it's committed to disk, which can lead to data corruption if the server crashes. sync does the opposite, the server will only acknowledge data after it's written out. For more details see man 5 exports

Thank you pludi..that is really helpful.