You are not logged in.

#1 2017-09-28 11:12:41

djipey
Member
Registered: 2011-07-30
Posts: 156

Kernal 4.13.3-1: can't mount samba volums (solved)

Hi,

I upgrade to kernel 4.13.3-1. I Have a line in my /etc/fstab:

//server.chem.gla.ac.uk/server /run/media/djipey/scapa4 cifs username=user,password=super_password,iocharset=utf8,sec=ntlm,x-systemd.automount 0 5 

When I run "sudo mount -a", I get:

mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Downgrading to kernel  4.12.13-1 fixes the problem. Any idea why this is happening ?

Cheers

Last edited by djipey (2017-09-28 16:02:47)

Offline

#2 2017-09-28 11:24:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,665

Re: Kernal 4.13.3-1: can't mount samba volums (solved)

CIFS has switched the default version of the SMB protocol to a newer standard in 4.13 try adding e.g. vers=2.1 to your mount options (or vers=2.0, vers=1.0 ) if vers=1.0 is the only one that works, flame the maintainers of that server that they should update.

Btw, something I just noticed because I started to use a CIFS share myself, if you check your dmesg after the connection attempt, the kernel will issue a info to inform of this:

No dialect specified on mount. Default has changed to a more secure dialect, SMB3 (vers=3.0), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 specify vers=1.0 on mount. For somewhat newer servers such as Windows 7 try vers=2.1.

Last edited by V1del (2017-10-03 12:20:04)

Online

#3 2017-09-28 13:22:18

djipey
Member
Registered: 2011-07-30
Posts: 156

Re: Kernal 4.13.3-1: can't mount samba volums (solved)

Ah, I had tried 2.0 and 3.0.

Indeed, 1.0 works. How bad is it if the server still uses 1.0 ? It's a "company" server, I don't have control over it but can ask for an upgrade.

Offline

#4 2017-09-28 14:13:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,665

Re: Kernal 4.13.3-1: can't mount samba volums (solved)

Very bad.

However this is out of scope for this thread. If your issue has been resolved, please edit your post and mark the thread as such by prepending [SOLVED] or similar to the title.

Last edited by V1del (2017-09-29 08:16:05)

Online

#5 2017-09-28 16:12:44

djipey
Member
Registered: 2011-07-30
Posts: 156

Re: Kernal 4.13.3-1: can't mount samba volums (solved)

Done. Thank you for the explanation.

Offline

#6 2017-10-09 10:53:27

leokun
Member
Registered: 2017-10-09
Posts: 1

Re: Kernal 4.13.3-1: can't mount samba volums (solved)

To me, the solution was to remove sec=ntlm. I don't know if this could be helpfull to someone smile

Offline

#7 2017-11-08 17:39:28

robbystk
Member
Registered: 2017-11-08
Posts: 3

Re: Kernal 4.13.3-1: can't mount samba volums (solved)

I had a similar issue, but it gave

mount error(13): Permission denied

Adding "vers=1.0" worked.

Offline

Board footer

Powered by FluxBB