Skip to content

Commit e995ab0

Browse files
authored
Merge pull request #1111 from cvvz/aznfs-tsg
doc: add aznfs mount helper tsg
2 parents 4dbac06 + 07a9796 commit e995ab0

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/csi-debug.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,39 @@ kubectl delete po node-debugger-node-name-xxxx
144144

145145
</details>
146146

147+
### Troubleshooting aznfs mount
148+
> Supported from v1.22.2
149+
> About aznfs mount helper: https://github.com/Azure/AZNFS-mount/
150+
151+
<details><summary>
152+
Check mount point information
153+
</summary>
154+
155+
```console
156+
kubectl debug node/node-name --image=nginx
157+
findmnt -t nfs
158+
```
159+
160+
The `SOURCE` of the mount point should have prefix with an ip address rather than domain name. e.g, **10.161.100.100**:/nfs02a796c105814dbebc4e/pvc-ca149059-6872-4d6f-a806-48402648110c.
161+
162+
</details>
163+
164+
165+
<details><summary>
166+
Get client-side logs on Linux node
167+
</summary>
168+
169+
```console
170+
kubectl debug node/node-name --image=nginx
171+
172+
cat /opt/microsoft/aznfs/data/aznfs.log
173+
```
174+
175+
If ip was migrated successfully, you should find logs like:
176+
1. `IP for nfsxxxxx.blob.core.windows.net changed [1.2.3.4 -> 5.6.7.8].`
177+
2. `Updating mountmap entry [nfsxxxxx.blob.core.windows.net 10.161.100.100 1.2.3.4 -> nfsxxxxx.blob.core.windows.net 10.161.100.100 5.6.7.8]`
178+
179+
</details>
180+
147181
### Tips
148182
- [Troubleshoot Azure Blob storage mount issues on AKS](http://aka.ms/blobmounterror)

0 commit comments

Comments
 (0)