mount vs synchronization

Mount directory by NFS or samba seems fast and easy solution, but you should not use it in production because of these reasons:

  • if share becomes inaccessible because of network reasons, whole OS may hung, you can’t even check free disk space with “df -h” or list some directories and application may crash.
  • when application write/read file to remote folder, application thinks that it is local directory, but it is not truth. This folder has network latency and application may crash.
  • very difficult troubleshooting. When problems with file synchronization happen you should check 2 things: port accessibility and file system permissions, if something go wrong with NFS, you should troubleshoot whole protocol –, and samba even more robust.
  • intelligent write to server. When you configure file synchronization you can limit synchronization bandwidth, it can prevent server overload.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>