报错如下
[root@192 ~]# mount -t cifs -o username=username,password=password //192.168.103.1/Kingston_usb1_1/ /samba/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
网上检索相关报错信息:
samba节点有限制版本,使用不合适的版本去连接导致
优化如下(在连接参数中加入版本信息vers=xxx)
[root@192 ~]# mount -t cifs -o username=username,password=password,vers=1.0 //192.168.103.1/Kingston_usb1_1/ /samba/
[root@192 ~]#
连接参考:https://www.jianshu.com/p/07d89be16ec0
如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。