diff --git a/docs/longhorn.md b/docs/longhorn.md index 532a188..f6c75fb 100644 --- a/docs/longhorn.md +++ b/docs/longhorn.md @@ -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.