You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Customer intent: As a Linux system administrator, I want to mount an NFS Azure file share, so that I can securely access and manage data stored in Azure from my Linux environment.
11
11
---
@@ -57,20 +57,60 @@ To enable hybrid access to an NFS Azure file share, use one of the following net
57
57
58
58
## Step 2: Mount an NFS Azure file share
59
59
60
-
You can mount the share using the Azure portal. You can also create a record in the **/etc/fstab** file to automatically mount the share every time the Linux server or VM boots.
60
+
You can mount the share using the Azure portal, or you can use the native Linux mount commands. You can also create a record in the **/etc/fstab** file to automatically mount the share every time the Linux server or VM boots.
61
+
62
+
You can use the `nconnect` Linux mount option to improve performance for NFS Azure file shares at scale. For more information, see [Improve NFS Azure file share performance](nfs-performance.md#nfs-nconnect).
61
63
62
64
### Mount an NFS share using the Azure portal
63
65
64
-
You can use the `nconnect` Linux mount option to improve performance for NFS Azure file shares at scale. For more information, see [Improve NFS Azure file share performance](nfs-performance.md#nfs-nconnect).
66
+
1. Once the file share is created, select the share and then select **Connect from Linux**.
67
+
1. Enter the mount path you'd like to use, then copy the script and run it on your client. Only the required mount options are included in the script, but you can add other [recommended mount options](#mount-options).
65
68
66
-
1. Once the file share is created, select the share and select **Connect from Linux**.
67
-
1. Enter the mount path you'd like to use, then copy the script. Azure portal offers a step-by-step, ready-to-use installation script tailored to your selected Linux distribution for installing the AZNFS mount helper package. Once installed, you can use the provided AZNFS mount script to securely mount the share using [Encyption in Transit](encryption-in-transit-for-nfs-shares.md).
68
-
1. Connect to your client and use the provided mounting script. Only the required mount options are included in the script, but you can add other [recommended mount options](#mount-options).
69
+
> [!NOTE]
70
+
> The Azure portal offers a step-by-step, ready-to-use installation script tailored to your selected Linux distribution for installing the AZNFS mount helper package. Once installed, you can use the provided AZNFS mount script to securely mount the share using [Encyption in Transit](encryption-in-transit-for-nfs-shares.md).
69
71
70
-
:::image type="content" source="media/storage-files-how-to-mount-nfs-shares/mount-file-share.png" alt-text="Screenshot showing how to connect to an N F S file share from Linux using a provided mounting script." lightbox="media/storage-files-how-to-mount-nfs-shares/mount-file-share.png" border="true":::
72
+
:::image type="content" source="media/storage-files-how-to-mount-nfs-shares/mount-file-share.png" alt-text="Screenshot showing how to connect to an N F S file share from Linux using a provided mounting script." lightbox="media/storage-files-how-to-mount-nfs-shares/mount-file-share.png" border="true":::
71
73
72
74
The NFS file share is now mounted.
73
75
76
+
### Mount an NFS share using the Linux command line
77
+
78
+
You can also mount the file share using the Linux command line. Select the tab below for your Linux distribution to see the commands you need to run. Be sure to replace `<YourStorageAccountName>` and `<FileShareName>` with your information.
sudo mount -t nfs <YourStorageAccountName>.core.windows.net:/<YourStorageAccountName>/<FileShareName> /mount/<YourStorageAccountName>/<FileShareName> -o vers=4,minorversion=1,sec=sys,nconnect=4
111
+
```
112
+
---
113
+
74
114
### Mount an NFS share using /etc/fstab
75
115
76
116
If you want the NFS file share to automatically mount every time the Linux server or VM boots, create a record in the **/etc/fstab** file for your Azure file share. Replace `YourStorageAccountName` and `FileShareName` with your information.
0 commit comments