LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-22-2017, 05:37 AM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Rep: Reputation: 30
mount.cifs does not support option "vers" (although man mentions it)


Hi everyone,
on a new 14.2 installation, I found that mounting a CIFS share with the "vers" option (in particular, "vers=3.0", which should be allowed according to "man mount.cifs") returns the following error:

Code:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Is this a bug? Can anyone reproduce it?
 
Old 11-22-2017, 07:17 AM   #2
Cesare
Member
 
Registered: Jun 2010
Posts: 65

Rep: Reputation: 113Reputation: 113
"mount" probably supports "vers", but the Slackware 14.2 default kernel doesn't have support for anything but CIFS v1. In order to use CIFS v2 or v3 with Slackware 14.2 you need to recompile the kernel with CONFIG_CIFS_SMB2 set (in Slackware current it's been available for a few months).
 
4 members found this post helpful.
Old 11-22-2017, 08:29 AM   #3
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Thanks for the heads up Cesare

-- kjh
 
Old 11-22-2017, 11:37 AM   #4
bryanl
Member
 
Registered: Dec 2003
Posts: 97

Rep: Reputation: 35
I ran into this one with autofs mounts. The Ubuntu upgrade from 17.04 to 17.10 killed my NAS access and the culprit was related to what Cesare noted I think. I had to add a 'vers=1.0' to my mount options to get things back in order. (perhaps I need to upgrade my ancient NAS?? ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux - Networking 45 04-06-2020 05:31 AM
[SOLVED] mount.cifs failing with "Required key not available" error luvshines Fedora 3 12-13-2011 01:48 AM
perl install error: Can't locate object method "new" via package "Module::Build::Vers powah Linux - Software 0 10-24-2006 01:57 PM
Cifs "mount error 11 = Resource temporarily unavailable" humbletech99 Linux - Networking 1 09-26-2006 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration