Linux: mount.cifs failed with host is down

Hi,

due to some security issues (Wannacry) Windows administrators are going to disable the unsecure smb1 protocol.

mount.cifs is using smb1 by default. So when you tried to connect to a Windows machine where smb1 is disabled you get an error: mount error(112): Host is down.

root@devdeb ~ # mount -t cifs -o user=yourWindowsUser,workgroup=yourDomain //yourWindowsMachine/share\$ /mnt/yourWindowsMachine
mount error(112): Host is down

To establish a connection nevertheless you have to force the use of smb2

root@devdeb ~ # mount -t cifs -o user=yourWindowsUser,workgroup=yourDomain,vers=2.0 //yourWindowsMachine/share\$ /mnt/yourWindowsMachine

Michael

One thought on “Linux: mount.cifs failed with host is down”

  1. Hi i am getting below issue, how could i solve this.

    mount error(13): Permission denied
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Leave a Reply