Skip to main content

Enable NAS storage for Linux servers using NFS

Contributors netapp-forry netapp-thomi netapp-aherbin netapp-ahibbard netapp-barbe

Create or modify storage VMs to enable NFS servers for serving data to Linux clients.

This procedure enables a new or existing storage VM for the NFS protocol. It is assumed that configuration details are available for any networking, authentication, or security services required in your environment.

workflow diagram for enabling NAS for Linux servers using NFS

Steps
  1. Enable NFS on a storage VM.

    1. 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).

    2. For existing storage VMs: click Storage > Storage VMs, select a storage VM, click Settings, and then click settings icon under NFS.

  2. Open the export policy of the storage VM root volume:

    1. 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.

    2. Click Add to add a rule.

      • Client specification = 0.0.0.0/0

      • Access protocols = NFS

      • Access details = UNIX Read-Only

  3. Configure DNS for host-name resolution: click Storage > Storage VMs, select the storage VM, click Settings, and then click settings icon under DNS.

  4. Configure name services as required.

    1. Click Storage > Storage VMs, select the storage VM, click Settings, and then click for settings icon LDAP or NIS.

    2. Include any changes in the name services switch file: click edit icon in the Name Services Switch tile.

  5. Configure Kerberos if required:

    1. Click Storage > Storage VMs, select the storage VM, and then click Settings.

    2. Click arrow icon in the Kerberos tile and then click Add.