Site Tools


admin-nfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
admin-nfs [2022/01/22 21:18] – -add proper explanation for Sync/Async hogwildadmin-nfs [2022/01/22 22:06] – added explanation of subtree check hogwild
Line 1: Line 1:
 ===== NFS Server ===== ===== NFS Server =====
  
-The built in NFS server allows filesharing capabilities with NFS clients (mainly Un*x like systems). Network File System (NFS) is a distributed file system protocol originally developed by Sun Microsystems which allows users on a client computer to access files over a computer network, similar to the way local storage is accessed.+The built in NFS server allows you to create and modify fileshares to NFS clients (mainly Un*x like systems). Network File System (NFS) is a distributed file system protocol originally developed by Sun Microsystems which allows users on a client computer to access files over a computer network, similar to the way local storage is accessed.
  
 It's essentially the equivalent of samba in a Linux environment. It's essentially the equivalent of samba in a Linux environment.
Line 7: Line 7:
  \\ {{:pasted:20220118-210028.png}}\\  \\ **Enable NFS Server** - Sets the NFS server process to start at boot time.  \\ {{:pasted:20220118-210028.png}}\\  \\ **Enable NFS Server** - Sets the NFS server process to start at boot time.
  
-**Enable legacy (NFS V2) support** - NFS currently has 3 versions - NFS 2/3/4. FreshTomato defaults to v3, but it can also be set to "speak" v2 also.\\+**Enable legacy (NFS V2) support** - NFS currently has 3 versions - NFS 2/3/4. FreshTomato defaults to v3, but it can also be set to "speak" v2 also.\\  \\
  
 **Exports**\\ {{:pasted:20220118-210434.png|Exports}}\\  \\ **Directory** - This specifies the filesystem location to be shared. **Exports**\\ {{:pasted:20220118-210434.png|Exports}}\\  \\ **Directory** - This specifies the filesystem location to be shared.
Line 20: Line 20:
 **Sync/Async** - when set to Sync (Synchronous), the FreshTomato will only acknowledge data after it's been written out. The Async(hronous) setting configures for the opposite behaviour. The NFS server will acknowledge data before it's committed to disk, which can lead to data corruption if the server crashes. **Sync/Async** - when set to Sync (Synchronous), the FreshTomato will only acknowledge data after it's been written out. The Async(hronous) setting configures for the opposite behaviour. The NFS server will acknowledge data before it's committed to disk, which can lead to data corruption if the server crashes.
  
-**Subtree_check** - Helps when one folder is exported but one or more of the subfolders is not.+**Subtree_check** - This option disables subtree checking, which has mild security implications, but can improve reliability in some circumstances. In NFS, if a subdirectory of a filesystem is exportedbut the whole filesystem isn't, then whenever a NFS request arrives, the server must check not only that the accessed file is in the appropriate filesystem (which is easy) but also that it is in the exported tree (which is harder). This check is called the subtree_check.
  
-**Other_options** - Here you can specify advanced options. Please refer to the official NFS documentation for additional details.\\+In order to perform this check, the server must include some information about the location of the file in the "filehandle" that is given to the client. This can cause problems with accessing files that are renamed while a client has them open (though in many simple cases it will still work). 
 + 
 +**Other_options** - Here you can specify advanced options. Please refer to the official NFS documentation for additional details. \\ [[https://linux.die.net/man/5/nfs|NFS man(ual) page]] 
 + 
 +\\
  
  
admin-nfs.txt · Last modified: 2023/06/18 22:43 by hogwild