Hi. I’m using Longhorn v1.9.1 as my default SC and...
# longhorn-storage
t
Hi. I’m using Longhorn v1.9.1 as my default SC and trying to install Loki in my one node cluster (RKE2 installed with Rancher), but the loki-backend pod will never start. The error Is
MountVolume.MountDevice failed for volume "pvc-a54353eb-81ad-422b-8f8a-39197e1445a6" : rpc error: code = Internal desc = format of disk "/dev/longhorn/pvc-a54353eb-81ad-422b-8f8a-39197e1445a6" failed: type:("ext4") target:("/var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/40e079163605f2e8408ca1b872826954bf19291a911d9149410d12e9d137fa67/globalmount") options:("defaults") errcode:(exit status 1) output:(mke2fs 1.47.0 (5-Feb-2023) /dev/longhorn/pvc-a54353eb-81ad-422b-8f8a-39197e1445a6 is apparently in use by the system; will not make a filesystem here! )
Not sure what to do now, any one that has some tips, what logs should I look in …
f
Would you check whether this is caused by
multipathd
? https://longhorn.io/kb/troubleshooting-volume-with-multipath/
t
Thanks! Multipath was the cause of this.