SMB/CIFS connection timeout kernel-3.10.0-957.21.3.el7

After upgrading to kernel-3.10.0-957.21.3.el7 on a CentOS server, I experienced connection timeout issues on Windows servers trying to access SMB shares. On the contrary, I was able to access the share using a Linux system without any problem. The bug was reported in CentOS Bug Tracker and it’s caused by one of the patches applied… Continue reading “SMB/CIFS connection timeout kernel-3.10.0-957.21.3.el7”

CIFS: mount error(112): Host is down

When trying to mount a Windows share using mount, I ran into this problem: mount -v -t cifs -o username=username,password=password //hostname/sharename /mnt mount.cifs kernel mount options: ip=XXX.XXX.XXX.XXX,unc=\\hostname\sharename,user=username,prefixpath=sharename,pass=******** mount error(112): Host is downmount -v -t cifs -o username=username,password=password //hostname/sharename /mnt mount.cifs kernel mount options: ip=XXX.XXX.XXX.XXX,unc=\\hostname\sharename,user=username,prefixpath=sharename,pass=******** mount error(112): Host is down In my case, the error was… Continue reading “CIFS: mount error(112): Host is down”

Mounting a Windows share using CIFS

Windows shares can be mounted using cifs option: mount -t cifs -o username=username,password=password //hostname/sharename /mntmount -t cifs -o username=username,password=password //hostname/sharename /mnt By default, Windows shares are mounted with 0777 permissions in Linux. You can change the default permissions using dir_mode and file_mode options in mount: mount -t cifs -o username=username,password=password,dir_mode=0755,file_mode=0755 //hostname/sharename /mntmount -t cifs -o… Continue reading “Mounting a Windows share using CIFS”