can't mount windows samba cifs share on Centos6

General support questions
Post Reply
hema.arun
Posts: 21
Joined: 2017/02/06 11:56:26

can't mount windows samba cifs share on Centos6

Post by hema.arun » 2017/02/07 08:34:50

Trying to mount a windows samba share on CentOS 6 machine, 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 on centos7. Any clue on how to make this work?
Firewall, selinux disabled. windows share host is pingable from the server. All packages in Centos6 and 7 are at latest update. mount.cifs version: 4.8.1


hema.arun
Posts: 21
Joined: 2017/02/06 11:56:26

Re: can't mount windows samba cifs share on Centos6

Post by hema.arun » 2017/04/17 08:14:33

As per link: https://serverfault.com/questions/83081 ... st-is-down
The following answer applies in my case.
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.

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: can't mount windows samba cifs share on Centos6

Post by TrevorH » 2017/04/17 13:08:22

Did you try the alternate samba4* set of packages instead? You'll need to completely remove all the other samba\* packages first and then install the samba4* versions of the same ones.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

TimeGuardian
Posts: 1
Joined: 2017/07/07 21:40:00

Re: can't mount windows samba cifs share on Centos6

Post by TimeGuardian » 2017/07/07 21:49:11

"Did you try the alternate samba4* set of packages instead? You'll need to completely remove all the other samba\* packages first and then install the samba4* versions of the same ones."

TrevorH - Do you know for sure if using Samba4 packages will actually work? Meaning, it will provide SMB 2 support on CentOS 6.x?

Everything I've read so far indicates its a file system limitation in CentOS 5 & 6 which prevents it from supporting anything above SMB 1.0. I've also read that most of the CIFS code is in the kernel, so that might explain it.

Post Reply