TrueNAS CORETrueNAS CORE Version Documentation
This content follows the TrueNAS CORE 13.0 releases. Use the Product and Version selectors above to view content specific to different TrueNAS software or major version.

NFS Share Screen

Unix and Unix-like operating systems often use the Network File System (NFS) protocol. NFS shares data across a network as part of a distributed file system. Go to Sharing > Unix Shares (NFS) to access the NFS screen to create a Network File System (NFS) share on TrueNAS.

NFSScreen

Click COLUMNS to change the NSF table view. Options include Unselect All, Description, Enabled or Reset to Defaults.

Click ADD to open the BASIC OPTIONS configuration screen.

NFS Share Basic Option Settings

NFSBasicOptionsScreen

NameDescription
PathType or browse to the full path to the pool or dataset to share. Click ADD to add another Path setting field. Repeat to configure multiple paths.
DescriptionEnter any notes or reminders about the share.
All dirsSelect checkbox to allow the client to mount any subdirectory within the Path. Clear to only allow clients to mount the Path endpoint.
QuietSelect to suppress some syslog diagnostics to avoid error messages. See exports(5) for examples. Clear checkbox to allow all syslog diagnostics. This can lead to additional cosmetic error messages.
EnabledSelect checkbox to enable this NFS share. Clear checkbox to disable this NFS share without deleting the configuration.

Click ADVANCED OPTIONS to display extra settings. These settings allow tuning the share access permissions and defining authorized networks.

NFS Share Advanced Option Settings

NFSAdvancedOptionsScreen

Access Settings

NameDescription
Read OnlySelect checkbox to prohibit writing to the share. Clear checkbox to allow writing to the share.
Maproot UserEnter a new string or select a user to apply that user permissions to the root user. Dropdown list displays a list of all users on the system.
Maproot GroupEnter a new string or select a group to apply that group permissions to the root user. Dropdown list displays a list of all groups on the system.
Mapall UserEnter a new string or select a user to apply permissions for the chosen user to all clients.
Mapall GroupEnter a new string or select a group to apply permissions for the chosen group to all clients.
Authorized NetworksEnter an allowed network in network/mask CIDR notation. Click ADD to define another authorized network. Defining an authorized network restricts access to all other networks. Leave empty to allow all networks.
Authorized Hosts and IP addressesEnter a host name or IP address to allow that system access to the NFS share. Click ADD to define another allowed system. Defining authorized systems restricts access to all other systems. Leave field empty to allow all systems access to the share.

Click SUBMIT to save NFS share settings.

Click CANCEL to exit without saving and return to the NFS Shares screen.

To edit an existing NFS share click the for the share and select Edit. The options available are identical to the ADD share setting options.

Related Content