Linux: Error - Mount CIFS Host is down

Aus Wiki-WebPerfect
Version vom 1. Februar 2018, 10:32 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Error

mount error(112): Host is down


Description

The Linux command "mount" use per default the SMB-Protocol version 1. In Windows-Environments best practise is to disable the SMB-Protocol 1.


Solution

Mount the share with a higher SMB-Protocol:

mount -t cifs //<server_ip>/<share> /mnt/<mountpoint> -o vers=2.0

(or vers=3.0 if you want to use version 3 of the protocol)