NFS Service
NFS service allows Linux client to access data on the server.
To enable the NFS service:
- Tick Enable NFS.
- Click Apply.
Note:
- DiskStation currently supports NFSv2, NFSv3 and NFSv4.
- When mounting, the parameter -o vers=2, -o vers=3 or -o vers=4 can be added to the mount command in order to specify which NFS version should be used.
To configure Linux clients' access privileges to shared folders:
Go to Main Menu > Control Panel > Shared Folder and click NFS Privileges. See Assign NFS Privileges for more information.
Set NFSv4 support
You can determine whether your NFS server supports NFSv4. When this option is enabled, NFS server will support NFSv2, NFSv3 and NFSv4; otherwise, only NFSv2 and NFSv3 will be supported.
To enable NFSv4 support:
- Tick Enable NFSv4 support.
-
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.
-
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.
- NFS client must enable idmapd.
- NFSv4 domain settings in the idmapd.conf file on your NFS client must be consistent with the NFSv4 domain field on DiskStation.
Set the 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.
To set the read/write packet size:
- Select the desired packet size from the Read packet size and Write packet size fields.
-
Click Apply.
-
Remount the share.
Note:
- After changing the read/write packet size, the shared folder must be remounted before the new settings can take effect.
- These settings only affect NFS clients who connect via UDP (User Datagram Protocol).
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:
- Click Kerberos Settings.
- Click the Import button.
- Choose the Kerberos key you want to import.
- Click OK.
Kerberos ID Mapping
You can map individual Kerberos principals to local DSM user accounts.
To map Kerberos principals and local user accounts:
- Click Kerberos Settings.
- Go to the ID Mapping tab.
- Click the Add button. Select one of the following.
- ID Mapping: Enter the Kerberos principal and the local user account to which it should be mapped.
- Suggested Mapping List: This option displays a list of suggested Kerberos principal/local user mapping options that are generated by the system.
Note:
- If you want to map an NFS client who connects through Kerberos to an existing Domain/LDAP user account, make sure you've joined the directory service. In addition, the directory server must have an attribute that includes the corresponding Kerberos principal.
- Domain User: The format for the corresponding attribute should be userPrincipalName.
- LDAP User: The format for the corresponding attribute should be GSSAuthName.
- If the user cannot be successfully mapped to a local user or domain/LDAP user, then the user shall be mapped to "guest."
- Mapped priority is as follows: Local user > Domain/LDAP user > Guest.
- If you want to modify the access permissions of NFS clients, please use Windows Access Control List (ACL). The privileges options located at Control Panel > User are not applicable for NFS clients.
____
* Only available on certain models.