Mount error(112): Host is down Refer to the mount.cifs(8) manual page (eg man mount.cifs) when mounting a Windows shared directory on Linux
Error report phenomenon:
[root@bogon /]#mount.cifs //192.168.2.1/gx /data
Password for root@//192.168.2.1/gx:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Solution:
Check the SMB related items in the Control Panel -> Programs and Features -> Start or Shut Down Windows, and then restart the computer.
Try to mount the shared directory on the Windows side again:
yum install -y cifs-utils
mkdir /data
mount.cifs //192.168.2.1/gx /data
不需要输入密码直接回车
df -h
ls /data