Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/csi-debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,39 @@ kubectl delete po node-debugger-node-name-xxxx

</details>

### Troubleshooting aznfs mount
> Supported from v1.22.2
> About aznfs mount helper: https://github.com/Azure/AZNFS-mount/

<details><summary>
Check mount point information
</summary>

```console
kubectl debug node/node-name --image=nginx
findmnt -t nfs
```

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.

</details>


<details><summary>
Get client-side logs on Linux node
</summary>

```console
kubectl debug node/node-name --image=nginx

cat /opt/microsoft/aznfs/data/aznfs.log
```

If ip was migrated successfully, you should find logs like:
1. `IP for nfsxxxxx.blob.core.windows.net changed [1.2.3.4 -> 5.6.7.8].`
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]`

</details>

### Tips
- [Troubleshoot Azure Blob storage mount issues on AKS](http://aka.ms/blobmounterror)