mount - samba 与 CentOS 7

mount - samba with CentOS 7

我想分享一个 Windows 目录,它是 CentOS 中的 Sys64。我在 CentOS 7 中安装了 cifs-utils 并且我 运行 命令:

mount.cifs //ip/Sys64 share -o user=hostname,password=hostname_password

我收到以下消息:

mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

cat  /var/log/messages

Nov 21 13:51:44 zabbix kernel: CIFS VFS: cifs_mount failed w/return code = -112

我用 nmap 测试过:

[root@titi mnt]# nmap -p 445 ip  -P0

Starting Nmap 6.40 ( http://nmap.org ) at 2018-11-21 14:25 CET Nmap scan report for ip Host is up (0.069s latency). PORT STATE SERVICE 445/tcp open microsoft-ds

我想分享这个目录,你有什么想法吗?

我把vers=2.0

mount -t cifs -o vers=2.0,uid=1010,gid=1011,username=,password= //10.219.56.2/SysWOW64 分享