mount.cifs: mount error(112): Host is down
Solution 1
I found this link here which says SMB 2 and 3 is not supported for rhel and Centos 6. It can only mount SMB1. From Centos and rhel 7 this is supported.
Solution 2
I solved this problem by forcing version 1 of the smb protocol.
In my fstab this is done like this:
//192.168.0.XXX/elements/Videos /home/myuser/videos cifs uid=1000,username=myuser,password=mypwd,rw,nounix,noserverino,defaults,auto,vers=1.0 0 0
By default, the system certainly use SMB2 or 3, and it doesn't work with my box. In fact it depends on your NAS. You have to give the good version depending on the SMB server.
Related videos on Youtube
Arun Krishnan
Updated on September 18, 2022Comments
-
Arun Krishnan over 1 year
I am trying to mount a windows samba share on CentOS and RHEL 6 machines, but gives following error.
~]# mount.cifs //example.com/Linux_Support /mnt -o credentials=/root/cifsauth,noserverino,vers=3.0
mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Messages logs has this error:
CIFS VFS: cifs_mount failed w/return code = -112
The same above command works in rhel7 and centos7. Any clue on how to make this work?
-
mzhaase about 7 yearsI assume its fully updated and you can ping the host from the RHEL6 machine? What is the version of cifs-utils installed?
-
Arun Krishnan about 7 yearsCould there be any version issue with cifs utils and the samba share from windows?
-
-
Arun Krishnan about 7 yearsI disabled firewall and selinux. The windows host is accessible and its not an issue with it because I am able to mount with same command and same host on centos7