How to mount an NFS file share (preview)

Azure Files is Microsoft's easy to use cloud file system. Azure file shares can be mounted in Linux distributions using either the Server Message Block protocol (SMB) or the Network File System (NFS) protocol (preview). This article is focused on mounting with NFS, for details on mounting with SMB, see Use Azure Files with Linux. For details on each of the available protocols, see Azure file share protocols.

Limitations

While in preview, NFS Azure file shares have the following limitations:

  • Only available for the premium tier.
  • If a storage account was created before registering for the NFS feature, NFS file shares cannot be created in that storage account. NFS file shares can only be created in storage accounts that were created after registering for the NFS feature.

Regional availability

Azure NFS file shares is supported in all the same regions that support premium file storage.

For the most up-to-date list, see the Premium Files Storage entry on the Azure Products available by region page.

Prerequisites

Disable secure transfer

  1. Sign in to the Azure portal and access the storage account containing the NFS share you created.

  2. Select Configuration.

  3. Select Disabled for Secure transfer required.

  4. Select Save.

    Screenshot of storage account configuration screen with secure transfer disabled.

Mount an NFS share

  1. Once the file share is created, select the share and select Connect from Linux.

  2. Enter the mount path you'd like to use, then copy the script.

  3. Connect to your client and use the provided mounting script.

    Screenshot of file share connect blade.

You have now mounted your NFS share.

Validate connectivity

If your mount failed, it's possible that your private endpoint was not setup correctly or is inaccessible. For details on confirming connectivity, see the Verify connectivity section of the networking endpoints article.

Next steps