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
Copy file name to clipboardExpand all lines: articles/storage/blobs/network-file-system-protocol-support-how-to.md
+40-7Lines changed: 40 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ author: normesta
7
7
ms.subservice: blobs
8
8
ms.service: storage
9
9
ms.topic: conceptual
10
-
ms.date: 02/14/2023
10
+
ms.date: 05/12/2023
11
11
ms.author: normesta
12
12
ms.reviewer: yzheng
13
13
---
@@ -72,9 +72,34 @@ The following image shows the squash options as they appear in the Azure portal.
72
72
> [!div class="mx-imgBorder"]
73
73
> 
74
74
75
-
## Step 5: Mount the container
75
+
## Step 5: Install the AZNFS Mount Helper package
76
76
77
-
Create a directory on your Linux system, and then mount the container in the storage account.
77
+
The AZNFS Mount Helper package helps Linux NFS clients to reliably access Azure Blob NFS shares even when the IP address of the endpoint changes. This package runs a background job called `aznfswatchdog` which monitors changes to the endpoint IP address for the mounted shares. If a change is detected, this background job updates the Destination Network Address Translation (DNAT) rules. To learn more, see [AZNFS Mount Helper](https://github.com/Azure/AZNFS-mount/).
78
+
79
+
1. Determine whether the AZNFS Mount Helper package is installed on your client.
1. Run the following command to immediately process the /etc/fstab entries and attempt to mount the preceding path:
120
+
2. Run the following command to immediately process the /etc/fstab entries and attempt to mount the preceding path:
96
121
97
122
```
98
123
mount /nfsdata
@@ -101,8 +126,11 @@ Create a directory on your Linux system, and then mount the container in the sto
101
126
- For a temporary mount that doesn't persist across reboots, run the following command:
102
127
103
128
```
104
-
mount -o sec=sys,vers=3,nolock,proto=tcp <storage-account-name>.blob.core.windows.net:/<storage-account-name>/<container-name> /nfsdata
105
-
```
129
+
mount -t aznfs -o sec=sys,vers=3,nolock,proto=tcp <storage-account-name>.blob.core.windows.net:/<storage-account-name>/<container-name> /nfsdatain
130
+
```
131
+
132
+
> [!TIP]
133
+
> By using the `-t aznfs` mount option, you ensure that the NFS client always remains correctly connected to the storage endpoint even if the endpoint IP changes after the mount. NFS shares that are mounted by using the `-t nfs` mount option might become disconnected from the storage endpoint if the IP address of that endpoint changes.
106
134
107
135
## Resolve common errors
108
136
@@ -118,6 +146,11 @@ Create a directory on your Linux system, and then mount the container in the sto
118
146
|`mount: /nfsdata: bad option;`| Install the NFS helper program by using `sudo apt install nfs-common`.|
119
147
|`Connection Timed Out`| Make sure that client allows outgoing communication through ports 111 and 2048. The NFS 3.0 protocol uses these ports. Makes sure to mount the storage account by using the Blob service endpoint and not the Data Lake Storage endpoint. |
120
148
149
+
## Limitations and troubleshooting for AZNFS Mount Helper
150
+
151
+
See [AZNFS Mount Helper](https://github.com/Azure/AZNFS-mount/).
152
+
153
+
121
154
## See also
122
155
123
156
- [Network File System (NFS) 3.0 protocol support for Azure Blob Storage](network-file-system-protocol-support.md)
0 commit comments