Ask Your Question
0

I cannot mount samba shares anymore in fedora 26 with the new 4.13.x kernel [closed]

asked 2017-10-20 11:23:29 -0500

tombola62 gravatar image

with kernel 4.13.5-200.fc26.x8664 or 4.13.4-200.fc26.x8664 I cannot mount samba shares, I get mount error(112) after about 20 minutes see: [nino@virtfedora ~]$ time sudo mount //PMR/PMR mnt -o rw,uid=nino,gid=users,user=Administrator [sudo] password di nino: Password for Administrator@//PMR/PMR: * mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

real 22m25,720s user 0m0,026s sys 0m0,023s

Everything works fine when booting with previous kernel 4.12.14-300.fc26.x86_64.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by tombola62
close date 2017-10-23 02:18:54.069237

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-10-21 11:30:10 -0500

stonne gravatar image

updated 2017-10-21 11:37:50 -0500

This same issue is discussed here => https://ask.fedoraproject.org/en/ques...

It's said or it happens that the new kernel update defaults now to a new version of SMB so to sort this issue out just add the vers=1.0 option to your mount command. Here an example:

# mount -t cifs //192.168.0.54/share /mnt/share/ -o username=user,uid=value,rw,sec=ntlm,vers=1.0
edit flag offensive delete link more

Comments

Anyone remembers Wannacry?

villykruse gravatar imagevillykruse ( 2017-10-21 12:13:07 -0500 )edit

Thank you very much, stupid I was trying vers=2.1 and vers=3.0 and forgot to test 1.0 too

tombola62 gravatar imagetombola62 ( 2017-10-23 02:18:16 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-10-20 11:23:29 -0500

Seen: 549 times

Last updated: Oct 21 '17