Apologies if I should be adding this to an existing thread. There's at least one where similar symptoms (samba) are discussed (viewtopic.php?f=13&t=66925).
Current config:
Kernel: 2.6.32-696.30.1.el6.x86_64
CentOS version: CentOS release 6.9 (Final)
I do have cifs-utils installed for what that's worth. 'yum info cifs-utils' tells me I have version 4.8.1.
Have done a full 'yum update', have nothing excluded in /etc/yum.conf, and have no third party repos active.
Issues/symptoms:
I can no longer (for a couple of weeks now) do the following to mount ntfs drives from machines running Win10:
/etc/fstab: <network_path> <mount_path> cifs ...
(or)
post-login command: mount -t cifs <network_path> <mount_path> ...
I end up with a "Host is down" mount error. I've tried adding vers=1.0/2.0/2.1/3.0 (one at a time) to the mount command in the options section (-o= ...) but none of that helps.
As an alternative, I've tried the following:
smbclient -L <target IP/hostname> -U <user> -m SMB<1/2/3> (again one at a time).
That triggers an "Unrecognized protocol level SMB<1/2/3> regardless of which one I try.
Any suggestions would be much appreciated.
cifs/samba support broken?
Re: cifs/samba support broken?
"Host is down" sounds more like a firewall thing. Can you ping the destination server?
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
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
-
- Posts: 3
- Joined: 2018/06/27 04:20:58
Re: cifs/samba support broken?
Sorry been out the last few days.
Yes, I can ping by both IP and hostname both ways.
Yes, I can ping by both IP and hostname both ways.
-
- Posts: 3
- Joined: 2018/06/27 04:20:58
Re: cifs/samba support broken?
This is the message I get when I try a mount:
My full mount command looks like this:
sudo mount -t cifs <share_name> <mount_point> -o username=<blah>,password=<blahblah>,iocharset=utf8,file_mode=0777,dir_mode=0777
And here's the message I get:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
As mentioned, I can ping the machine that's apparently down. I also have the Windows machine listed in my /etc/hosts.
Any suggestions please? Any particular ports that I need to open on the Windows machine firewall? Firewall is completely disabled on my CentOS machine at the minute (just trying different things). CentOS build is 6.10 (Final).
ETA: Windows Firewall says SMB over TCP (inbound) is allowed over local port 445. Not sure if that's the port I want.
My full mount command looks like this:
sudo mount -t cifs <share_name> <mount_point> -o username=<blah>,password=<blahblah>,iocharset=utf8,file_mode=0777,dir_mode=0777
And here's the message I get:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
As mentioned, I can ping the machine that's apparently down. I also have the Windows machine listed in my /etc/hosts.
Any suggestions please? Any particular ports that I need to open on the Windows machine firewall? Firewall is completely disabled on my CentOS machine at the minute (just trying different things). CentOS build is 6.10 (Final).
ETA: Windows Firewall says SMB over TCP (inbound) is allowed over local port 445. Not sure if that's the port I want.
Re: cifs/samba support broken?
https://access.redhat.com/discussions/3002961 says it may be down to Microsoft disabling SMB1 by default on Windows servers. It also has this comment
Does that sound like a possible explanation?Opened case with redhat - They said that if you are running RHEL 4,5,6 - you can only use SMBV1 protocol - You would need to upgrade to RHEL7 to use SMBv2 or 3 https://access.redhat.com/solutions/1178753
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
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