Add Longhorn troubleshooting docs

This commit is contained in:
Pim Kunis 2024-12-03 11:46:52 +01:00
parent 3e28f0f3e3
commit 7a5749f26c

View file

@ -1,5 +1,19 @@
# Longhorn notes
## Troubleshooting
```
Multi-Attach error for volume "prowlarr" Volume is already exclusively attached to one node and can't be attached to another
```
I solved the above problem like this:
```
kubectl get volumeattachments | grep prowlarr
csi-f13ee1f46a4acc0d7e4abe8a3c993c7e043e9a55cd7573bda3499085654b493a driver.longhorn.io prowlarr lewis true 3m38s
kubectl delete volumeattachments csi-f13ee1f46a4acc0d7e4abe8a3c993c7e043e9a55cd7573bda3499085654b493a
kubectl rollout restart -n media deployment prowlarr
```
## Migration from NFS to Longhorn
1. Delete the workload, and delete the PVC and PVC using NFS.