Ubuntu(Linux) mount error(22):解决办法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
错误log
执行命令
sudo mount -t cifs //ip/sharename /tmp/1 -o username=11,password=tmp
错误提示
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
解决办法
查看root cause:
tail -f /var/log/kern.log
提示:
No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify
vers=1.0
on mount.
提示里面已经指明解决方法,没有指定cifs共享的版本,cifs分为smb1.0/2.0/3.0/3.1。
解决办法
sudo mount -t cifs //ip/sharename /tmp/1 -o username=11,password=tmm,
vers=1.0
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献2条内容
所有评论(0)