Linux:mount命令出現Host is down如何解決


當使用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命令出現Host is down如何解決Linux:mount命令出現Host is down如何解決

工具/原料

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM