NFS Service

NFS service allows Linux clients to access data on this DiskStation device.

To enable NFS service:

  1. Go to Control Panel > File Services > SMB/AFP/NFS and tick Enable NFS.
  2. Click Apply.

Note:

To configure Linux clients' access privileges to shared folders:

Go to Control Panel > Shared Folder. Select a shared folder and click Edit to manage NFS rules and regulate the access right to this shared folder for Linux clients.

Setting NFSv4 and NFSv4.1 Support

DiskStation supports NFSv2 and NFSv3 by default. You can decide if NFSv4 or NFSv4.1 should be enabled.

To enable NFSv4 or NFSv4.1 support:

  1. Tick Enable NFSv4 support or Enable NFSv4.1 support.
  2. In the NFSv4 domain field, enter the name of the NFSv4 domain you want to use. This field is optional and can be left blank.
  3. Click Apply.

Note:

When you use NFSv4 to mount the shared folder, please note the following. Otherwise, the file operations associated with the username will fail.

NFSv4 will be enabled automatically if NFSv4.1 is enabled.

Multipathing

NFSv4.1 supports Multipathing. Clients can access an NFS server via multiple network connections at the same time. Multipathing increases the bandwidth and provides traffic failover to maintain network connection when the connection is down. For the time being, only VMware ESXi version 6.0 and above support NFSv4.1 clients. For more information about VMware NFSv4.1 support, please refer to the VMware document.

Note:

Advanced Settings

Applying default UNIX permissions

When Apply default UNIX permissions is checked, default UNIX permissions set in the Linux client are applied instead of Windows ACL permissions when uploading or creating files and folders. Applied permissions are the same as permissions applied by the UNIX command umask. The default umask value is 022.

Note:

Custom port

You can customize port numbers for statd and nlockmgr services.

  1. Select Customized ports.
  2. Enter port numbers in statd port and nlockmgr port.
  3. Click Apply.

Note:

Setting Read/Write Packet Size

When the read/write packet size cannot be set on your NFS client, you can specify the default value in this field.

  1. Select the desired packet size from the Read packet size and Write packet size fields.
  2. Click Apply.
  3. Remount the share.

Note:

Kerberos Settings

Kerberos is a network authentication protocol. It allows clients and servers communicating over a non-secure network to authenticate and prove their identities to each other in a secure manner. DiskStation provides options to import an existing Kerberos key. Once imported successfully, NFS clients can use the Kerberos authentication protocol to connect to the DiskStation.

To import a Kerberos key:

  1. Click Kerberos Settings.
  2. Click the Import button.
  3. Choose the Kerberos key you want to import.
  4. Click OK.

Kerberos ID Mapping

You can map individual Kerberos principals to local DSM user accounts.

To map Kerberos principals and local user accounts:

  1. Click Kerberos Settings.
  2. Go to the ID Mapping tab.
  3. Click the Add button. Select one of the following.

Note: