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
1. Mount the NFS share by using the following cmdlet. Replace `<storage-account-name>` with the name of your storage account and replace `<share-name>` with the name of your file share.
160
+
2. Mount the NFS share by using the following cmdlet. Replace `<storage-account-name>` with the name of your storage account and replace `<share-name>` with the name of your file share.
161
161
162
162
```bash
163
163
sudo mount -t aznfs <storage-account-name>.file.core.windows.net:/<storage-account-name>/<share-name> /mount/<storage-account-name>/<share-name> -o vers=4,minorversion=1,sec=sys,nconnect=4
@@ -189,10 +189,10 @@ It indicates that the client is connected through the local port 127.0.0.1, not
189
189
190
190
To check if traffic to the NFS server is encrypted, use the `tcpdump` command to capture packets on port 2049.
191
191
192
-
193
192
```bash
194
193
sudo tcpdump -i any port 2049 -w nfs_traffic.pcap
195
194
```
195
+
196
196
When you open the capture in Wireshark, the payload will appear as "Application Data" instead of readable text.
197
197
198
198
:::image type="content" source="./media/encryption-in-transit-nfs-shares/wireshark-capture.png" alt-text="Diagram showing the Wireshark screen to test if EiT is applied." lightbox="./media/encryption-in-transit-nfs-shares/wireshark-capture.png":::
@@ -205,14 +205,16 @@ When you open the capture in Wireshark, the payload will appear as "Application
205
205
A **non-TLS (notls) mount** operation might fail if a previous **TLS-encrypted** mount to the same server was terminated before completing successfully. Although the *aznfswatchdog* service automatically cleans up stale entries after a timeout, attempting a new non-TLS mount before cleanup completes can fail.
206
206
207
207
To resolve this issue, remount the share using the clean option, which immediately clears any stale entries:
208
+
208
209
```bash
209
210
sudo mount -t aznfs <storage-account-name>.file.core.windows.net:/<storage-account-name>/<share-name> /mount/<storage-account-name>/<share-name> -o vers=4,minorversion=1,sec=sys,nconnect=4,notls,clean
210
211
```
212
+
211
213
If mounting issues continue, check the log files for more troubleshooting details:
212
-
214
+
213
215
-**Mount Helper and Watchdog Logs**: `/opt/microsoft/aznfs/data/aznfs.log`
0 commit comments