小编Gre*_*408的帖子

更新后 FSTAB 中的 CIFS 挂载不起作用

几个小时前,我通过软件中心进行了全面更新。已安装的共享已正常工作,但更新后我只收到此错误消息:

mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Run Code Online (Sandbox Code Playgroud)

这是我的共享在 fstab 中的安装方式:

//IP-of-server/samba-directory  /Path-to-mount-point/ cifs users,noauto,uid=1000,gid=1000,credentials=/path-to-credentials,iocharset=utf8,sec=ntlm   0       0
Run Code Online (Sandbox Code Playgroud)

使用

mount -a
Run Code Online (Sandbox Code Playgroud)

不显示任何错误。尝试使用 File-Explorer 直接访问共享(使用 smb://path-to-server)也可以正常工作。我已经尝试使用“vers”选项,但没有成功。

使用

tail -f /var/log/kern.log

返回

CIFS VFS: Unable to select appropriate authentication method!
Run Code Online (Sandbox Code Playgroud)

感谢您的帮助和回复

fstab mount cifs

11
推荐指数
2
解决办法
3万
查看次数

标签 统计

cifs ×1

fstab ×1

mount ×1