TrueNAS Documentation Archive
This content follows the TrueNAS 23.10 (Cobia) releases. Archival documentation is provided for reference only and not actively maintained. Use the Product and Version selectors above to view content specific to different TrueNAS software or major version.
NFS Services Screen
2 minute read.
Last Modified 2024-03-27 16:54 EDTThe UDP protocol is deprecated and not supported with NFS. It is disabled by default in the Linux kernel. Using UDP over NFS on modern networks (1Gb+) can lead to data corruption caused by fragmentation during high loads.
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 edit 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.
The NFS service does not automatically start on boot if all NFS shares are encrypted and locked.
Setting | Description |
---|---|
Bind IP Addresses | Select 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. |
Number of threads | Required. Enter an optimal number of threads used by the kernel NFS server. |
Setting | Description |
---|---|
Enabled Protocols | Select NFSv3, NFSv4, or both. If NFSv4 is selected, NFSv3 ownership model for NFSv4 clears, allowing you to select or leave it clear. |
NFSv3 ownership model for NFSv4 | Becomes selectable after selecting NFSv4. Select when NFSv4 ACL support is needed without requiring the client and the server to sync users and groups. |
Require Kerberos for NFSv4 | Select to force NFS shares to fail if the Kerberos ticket is unavailable. |
Setting | Description |
---|---|
mountd(8) bind port | Enter a port to bind mountd(8). |
rpc.statd(8) bind port | Enter a port to bind rpc.statd(8). |
rpc.lockd(8) bind port | Enter a port to bind rpc.lockd(8). |
Setting | Description |
---|---|
Serve UDP NFS clients | Select if NFS clients need to use the User Datagram Protocol (UDP). |
Allow non-root mount | Select only if required by the NFS client to allow serving non-root mount requests. |
Support >16 groups | Select when a user is a member of more than 16 groups. This assumes group membership is configured correctly on the NFS server. |
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.