JRehkemper.de

CIFS Mount Error - No route to host

If you try to mount an smb share on a linux server and get the following error message:

$ mount -a
mount: /mnt: mount(2) system call failed: No route to host

You need to install the cifs-client-libraries.

$ dnf install cifs-utils
# or for debian
$ apt install cifs-utils

After that you should be able to mount the share.

profile picture of the author

Jannik Rehkemper

I'm an professional Linux Administrator and Hobby Programmer. My training as an IT-Professional started in 2019 and ended in 2022. Since 2023 I'm working as an Linux Administrator.