Skip to content

Commit a0ab0b0

Browse files
Merge pull request #302411 from khdownie/kendownie070825-2
add secure transfer warning
2 parents 90687f8 + 6d3f523 commit a0ab0b0

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

articles/storage/files/storage-files-how-to-mount-nfs-shares.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ You can use the `nconnect` Linux mount option to improve performance for NFS Azu
6464
### Mount an NFS share using the Azure portal (Recommended)
6565

6666
1. Once the file share is created, select the share and then select **Connect from Linux**.
67-
2. Enter the mount path you'd like to use, then copy the script and run it on your client. 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 and to securely mount the share using [Encyption in Transit](encryption-in-transit-for-nfs-shares.md). Only the required mount options are included in the script, but you can add other [recommended mount options](#mount-options).
67+
1. Enter the mount path you'd like to use, then copy the script and run it on your client. 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 and to securely mount the share using [Encyption in Transit](encryption-in-transit-for-nfs-shares.md). Only the required mount options are included in the script, but you can add other [recommended mount options](#mount-options).
6868

6969
:::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":::
7070

71-
The NFS file share is now mounted.
71+
The NFS file share should now be mounted. If the mount fails, ensure that the *Secure transfer required* setting is [enabled on the storage account](encryption-in-transit-for-nfs-shares.md?tabs=azure-portal%2CUbuntu#enforce-encryption-in-transit).
7272

7373
### Mount an NFS share using the NFS client mount in command line
7474

@@ -120,26 +120,34 @@ systemctl is-active --quiet aznfswatchdog && echo -e "\nAZNFS Mount Helper is in
120120

121121
If the package is installed, then the message `AZNFS Mount Helper is installed!` appears.
122122

123-
The record in **/etc/fstab** should look like this if you're using the AZNFS Mount Helper and want to mount the share using encryption in transit:
123+
Remember to replace `<YourStorageAccountName>` and `<FileShareName>` with your own values. For more information, enter the command `man fstab` from the Linux command line.
124+
125+
#### Mount using AZNFS Mount Helper and encryption in transit (recommended)
126+
127+
The record in **/etc/fstab** should look like this if you're using the AZNFS Mount Helper and want to mount the share using encryption in transit.
124128

125129
```bash
126130
<YourStorageAccountName>.file.core.windows.net:/<YourStorageAccountName>/<FileShareName> /media/<YourStorageAccountName>/<FileShareName> aznfs defaults,sec=sys,vers=4.1,nolock,proto=tcp,nofail,_netdev   0 2
127131
```
128132

133+
If the mount fails, ensure that the *Secure transfer required* setting is [enabled on the storage account](encryption-in-transit-for-nfs-shares.md?tabs=azure-portal%2CUbuntu#enforce-encryption-in-transit).
134+
135+
#### Mount using AZNFS Mount Helper without encryption in transit
136+
129137
If you're using the AZNFS Mount Helper but don't want to use encryption in transit, the record in **/etc/fstab** should look like this:
130138

131139
```bash
132140
<YourStorageAccountName>.file.core.windows.net:/<YourStorageAccountName>/<FileShareName> /media/<YourStorageAccountName>/<FileShareName> aznfs defaults,sec=sys,vers=4.1,nolock,proto=tcp,nofail,_netdev,notls   0 2
133141
```
134142

143+
#### Mount using native NFS mount commands
144+
135145
If you're using the native NFS mount without AZNFS, the record in **/etc/fstab** should look like this:
136146

137147
```bash
138148
<YourStorageAccountName>.file.core.windows.net:/<YourStorageAccountName>/<FileShareName> /media/<YourStorageAccountName>/<FileShareName> nfs vers=4,minorversion=1,_netdev,nofail,sec=sys 0 0
139149
```
140150

141-
Remember to replace `<YourStorageAccountName>` and `<FileShareName>` with your information. For more information, enter the command `man fstab` from the Linux command line.
142-
143151
### Mount options
144152

145153
The following mount options are recommended or required when mounting NFS Azure file shares.

0 commit comments

Comments
 (0)