Longhorn 常见问题
#
Longhorn on K3S#
Error deploying driver: failed to get kubelet root dir, no related proc for root-dir detection, error out#
MountVolume.SetUp failed for volume "registration-dir" : hostPath type check failed: /var/lib/rancher/k3s/agent/kubelet/plugins_registry is not a directory#
Unable to attach or mount volumes: unmounted volumes=[registration-dir], unattached volumes=[registration-dir lib-modules socket-dir host-dev host-sys longhorn-service-account-token-7ppv2 pods-mount-dir host kubernetes-csi-dir]: timed out waiting for the condition#
cannot find disk config file, maybe due to a mount error节点上磁盘不存在,删除重建
#
节点 Allocated 为负删除 disk 从新创建,如果选择的目录不存在可能也会有问题
#
卸载#
driver name driver.longhorn.io not found in the list of registered CSI drivers#
Still connecting to unix:///csi/csi.sock- longhorn-csi-plugin 启动失败