Get a Quote   (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support Toggle between Light and Dark mode

NFS Services Screen

  2 minute read.

Last Modified 2022-09-16 15:29 EDT

NFS Service Screen

The Services > NFS configuration screen displays settings to customize the TrueNAS NFS service.

You can access it from System Settings > Services screen. Locate NFS and click to open the screen, or use the Config Service option on the Unix (NFS) Share widget options menu found on the main Sharing screen.

Select Start Automatically to activate NFS service when TrueNAS boots.

ServicesNFSSettingsScreen

General Options Settings

SettingDescription
Number of serversRequired. Enter the number of servers to create. Increase if NFS client responses are slow. Keep this less than or equal to the number of CPUs reported by SYSCTL -n kern.smp.cpus to limit CPU context switching.
Bind IP AddressesSelect IP addresses to listen to for NFS requests. Leave empty for NFS to listen to all available addresses. You must configure static IPs on the interface to appear on the dropdown list.

NFSv4 Settings

SettingDescription
Enable NFSv4Select to switch from NFSv3 to NFSv4. If selected, NFSv3 ownership model for NFSv4 clears, allowing you to select or leave it clear.
NFSv3 ownership model for NFSv4Becomes selectable after selecting Enable NFSv4. Select when NFSv4 ACL support is needed without requiring the client and the server to sync users and groups.
Require Kerberos for NFSv4Select to force NFS shares to fail if the Kerberos ticket is unavailable.

Ports Settings

SettingDescription
mountd(8) bind portEnter a port to bind mountd(8).
rpc.statd(8) bind portEnter a port to bind rpc.stad(8).
rpc.lockd(8) bind portEnter a port to bind rpc.lockd(8).

Other Options Settings

SettingDescription
Serve UDP NFS clientsSelect if NFS clients need to use the User Datagram Protocol (UDP).
Support >16 groupsSelect when a user is a member of more than 16 groups. This assumes group membership is configured correctly on the NFS server.
Allow non-root mountSelect only if required by the NFS client to allow serving non-root mount requests.

Unless a specific setting is required, we recommend using the default NFS settings.

When TrueNAS is already connected to Active Directory, setting NFSv4 and Require Kerberos for NFSv4 also requires a Kerberos Keytab.

Related NFS Articles