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
admin-nfs [2022/01/22 22:03] hogwildadmin-nfs [2024/10/21 19:49] (current) – -Condense, formatting hogwild
Line 1: Line 1:
 ===== NFS Server ===== ===== NFS Server =====
  
-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.+FreshTomato'NFS server lets you create and modify fileshares to NFS clients (mainly Unix-like systems). Network File System (NFS) is a distributed file system protocol. It allows users on a client device to access files over a 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.
  
- \\ {{:pasted:20220118-210028.png}}\\  \\ **Enable NFS Server** - Sets the NFS server process to start at boot time.+ \\ {{:pasted:20220118-210028.png}}\\  \\  \\
  
-**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 NFS Server:** sets the NFS server process to start at boot time.
  
-**Exports**\\ {{:pasted:20220118-210434.png|Exports}}\\  \\ **Directory** - This specifies the filesystem location to be shared.+ \\
  
-**IP Address/Subnet** - Limits connectivity to the IP address/subnet you specify in this field.+**Enable legacy (NFS V2) support: **enables support for NFS version 2.
  
-**Access** - Defines the share permissions (how the share can be accessed)+NFS currently has 3 versions - NFS 2/3/4. FreshTomato defaults to v3, but can also be set to "speak" v2 also.\\  \\ 
 + 
 + \\ 
 + 
 +**Exports**\\ {{:pasted:20220118-210434.png|Exports}}\\  \\  \\ 
 + 
 +**Directory:  **specifies the filesystem location to be shared over the network. 
 + 
 + \\ 
 + 
 +**IP Address/Subnet:**  limits connectivity to the IP address or subnet you specify here. 
 + 
 + \\ 
 + 
 +**Access: ** defines the share permissions (how the share can be accessed)
 + 
 + \\
  
   * Read-only   * Read-only
   * Read/Write   * Read/Write
  
-**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:  ** 
 + 
 +  * Synchronous FreshTomato will only acknowledge data after it's been written out 
 + 
 +  * Async(hronous) - FreshTomato will acknowledge data before it's been written out\\ The NFS server will acknowledge data before it's committed to disk. \\ If the server crashesthis can lead to data corruption
 + 
 + \\ 
 + 
 +**Subtree Check:** 
 + 
 +  * No * - subtree check will be disabled. 
 +  * Yes  - enables subtree checking. 
 + 
 + \\ 
 + 
 +This has minor security implications, but can improve reliability in some scenarios. 
 + 
 +In NFS, if a filesystem subdirectory is exported, but not the whole filesystem, then whenever a NFS request arrives, the server must check the accessed file is in the appropriate filesystem (easy) and that it is in the exported tree (harder). This check is called the subtree_check. 
 + 
 +To perform the check, the server must include details of the file location in the file handle given to the client. This can cause problems accessing files that are renamed while a client has them open. However, in many simple cases, it will still work. 
 + 
 + \\
  
-**Subtree_check** - Helps when one folder is exported but one or more of the subfolders is not.+**Other Options:**  here, you can enter advanced options.
  
-**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]]+Please refer to official NFS documentation for details. [[https://linux.die.net/man/5/nfs|NFS man(ual) page]]
  
-\\+ \\ \\  \\
  
  
admin-nfs.1642889002.txt.gz · Last modified: 2022/01/22 22:03 by hogwild