导读 当使用Linux中的mount命令挂载一个Windows的共享目录的时候有时会出现:
mount error(112): Host is downRefer to the mount.cifs(8) manual page (e.g. man mount.cifs)

出现Host is down的错误在挂载Windows 8,8.1,10的时候会经常出现,这时候其实不是命令本身的原因,但是对于挂载windows共享目录来说仍然给大家提供标准的语法:
#mount -t cifs //IP地址/共享名称 挂载点 -o username=用户名,password=密码,其他选项

工具/原料

Linux
mount命令
远程共享主机,例如: 10.0.0.1
远程共享目录名称: share
本地挂载点: /mnt/sharefolder

方法/步骤1:

通过以下命令来解决Host is down的问题:

#mount -t cifs //10.0.0.1/share /mnt/sharefolder -o username=sensirx,password=sensirx,vers=2.0

注意事项
这个问题主要在于版本上面,所以在mount cifs的时候显式指定一下挂载的cifs是最新的版本即可

原文来自:http://sh.qihoo.com/pc/9f33ef72756b604c9?cota=4&tj_url=xz&sign=360_e39369d1&refer_scene=so_3

本文地址:https://www.linuxprobe.com/linux-mounthost-is-down.html编辑:坑人小妖精,审核员:逄增宝

Linux命令大全:https://www.linuxcool.com/

Linux系统大全:https://www.linuxdown.com/

红帽认证RHCE考试心得:https://www.rhce.net/