NFS: Difference between revisions
Cleaned up client section Tags: Mobile edit Mobile web edit Advanced mobile edit |
m Intro Sentence, Link, Category:Networking added (its not only a filesystem its a way to define networks too) |
||
Line 1: | Line 1: | ||
__FORCETOC__ | __FORCETOC__ | ||
[[wikipedia:Network_File_System|NFS]] is a distribute filesystem protocol to access directories and files over a network. | |||
= Server = | = Server = | ||
Line 225: | Line 228: | ||
<syntaxhighlight lang="console"><host_or_ip>/nix /nix nfs nofail,x-systemd.device-timeout=4,local_lock=all 0 0</syntaxhighlight>'''TODO:''' Why this? That seems extremely unsafe. This disables NFS locks (which apply to all NFS clients), and makes locks ''local'', meaning a lock taken by one NFS client isn't seen by another, and both can take their locks. So this removes protection against concurrent writes, which Nix assumes. | <syntaxhighlight lang="console"><host_or_ip>/nix /nix nfs nofail,x-systemd.device-timeout=4,local_lock=all 0 0</syntaxhighlight>'''TODO:''' Why this? That seems extremely unsafe. This disables NFS locks (which apply to all NFS clients), and makes locks ''local'', meaning a lock taken by one NFS client isn't seen by another, and both can take their locks. So this removes protection against concurrent writes, which Nix assumes. | ||
[[Category:Filesystem]] | [[Category:Filesystem]] | ||
[[Category:Networking]] |