Longhorn MountVolume.SetUp failed for volume “mysql-5721” : rpc error: code = Internal desc = mount failed: exit status 32 Mounting command: mount Mounting arguments: -t ext4 -o defaults /dev/longhorn/mysql-5721 /var/lib/kubelet/pods/9db5f7a0-d6dd-426d-89b1-bb7abf6a0ac4/volumes/kubernetes.io~csi/mysql-5721/mount Output: mount: /var/lib/kubelet/pods/9db5f7a0-d6dd-426d-89b1-bb7abf6a0ac4/volumes/kubernetes.io~csi/mysql-5721/mount: /dev/longhorn/mysql-5721 already mounted or mount point busy.

When there is problem to mount a Longhorn device this bug can be a good start: https://github.com/longhorn/longhorn/issues/1210

Solution for me was add

blacklist {
   devnode "^sd[a-z0-9]+"
}

to /etc/multipath.conf and restart

service multipathd restart


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *