當使用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
=密碼,其他選項
工具/原料
Linuxmount
命令
遠程共享主機,例如: 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