mount.cifs:挂载错误(112):主机已关闭

Aru*_*nan 3 mount cifs host centos6 rhel6

我正在尝试在 CentOS 和 RHEL 6 机器上安装 Windows samba 共享,但出现以下错误。

~]# mount.cifs //example.com/Linux_Support /mnt -o credentials=/root/cifsauth,noserverino,vers=3.0

mount error(112): Host is down 参考 mount.cifs(8) 手册页(例如 man mount.cifs)

消息日志有这个错误:

CIFS VFS:cifs_mount 失败,返回代码 = -112

上面的命令同样适用于 rhel7 和 centos7。关于如何使这项工作的任何线索?

Aru*_*nan 6

我在这里找到了这个链接,上面说rhel和Centos 6不支持SMB 2和3。它只能挂载SMB1。从 Centos 和 rhel 7 开始,这是支持的。