Enable NAS storage for Linux servers using NFS
Create or modify storage VMs to enable NFS servers for serving data to Linux clients.
Enable a new or existing storage VM for the NFS protocol using this procedure.
Ensure that you have noted the configuration details for any networking, authentication, or security services required in your environment.
-
Enable NFS on a storage VM.
-
For new storage VMs: Click Storage > Storage VMs, click Add, enter a storage VM name, and in the SMB/CIFS, NFS, S3 tab, select Enable NFS.
-
Confirm the default language.
-
Add network interfaces.
-
Update storage VM administrator account information (optional).
-
-
For existing storage VMs: click Storage > Storage VMs, select a storage VM, click Settings, and then click under NFS.
-
-
Open the export policy of the storage VM root volume:
-
Click Storage > Volumes, select the root volume of the storage VM (which by default is volume-name _root), and then click on the policy that is displayed under Export Policy.
-
Click Add to add a rule.
-
Client specification =
0.0.0.0/0
-
Access protocols = NFS
-
Access details = UNIX Read-Only
-
-
-
Configure DNS for host-name resolution: click Storage > Storage VMs, select the storage VM, click Settings, and then click under DNS.
-
Configure name services as required.
-
Click Storage > Storage VMs, select the storage VM, click Settings, and then click for LDAP or NIS.
-
Click in the Name Services Switch tile to include any changes.
-
-
Configure encryption if required:
NFS over TLS is available in ONTAP 9.15.1 as a public preview. As a preview offering, NFS over TLS is not supported for production workloads in ONTAP 9.15.1. |
-
Refer to the requirements for NFS over TLS before you begin.
-
Click Storage > Storage VMs, select the storage VM, and then click Settings.
-
In the NFS tile, click NFS over TLS settings.
-
In the NFS over TLS settings area, select an NFS network interface for which you want to enable TLS.
-
Click the for that interface.
-
Click Enable.
-
In the Network interface TLS configuration dialog, include a certificate for use with TLS by selecting one of the following options:
-
Installed certificate: Choose a previously installed certificate from the drop-down list.
-
New certificate: Choose a common name for the certificate.
-
External CA-signed certificate: Follow the instructions to paste the contents of your certificate and private key into the boxes.
-
-
Click Save.
-
Click Storage > Storage VMs, select the storage VM, and then click Settings.
-
Click in the Kerberos tile and then click Add.