cifs挂载错误(2):没有这样的文件或目录

pau*_*aul 4 ubuntu mount smb

我安装了 Buffalo Neworkstorage (NS)。

我可以使用以下命令从运行 Debian (buster) 的 Rock Pi N10 安装 NS:

sudo mount.cifs //<<ip.address>>/SHARE /mnt/lspro
Run Code Online (Sandbox Code Playgroud)

但在我运行 Ubuntu 18.04 的 PC 上,使用与上面完全相同的命令,出现错误:

mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Run Code Online (Sandbox Code Playgroud)

日志dmesg是:

[48381.426142] CIFS: Attempting to mount //10.1.10.77/share
[48381.426168] 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.
[48381.440240] CIFS VFS: cifs_mount failed w/return code = -2
Run Code Online (Sandbox Code Playgroud)

/mnt/lspro存在于 Ubuntu 盒子上。我可以cd /mnt/lspro,而且ls /mnt/lspro已经在那里证实了!

我什至可以使用无密码匿名通过“smb://<ip.address>”通过文件其他位置安装 NS,但我不能mount.cifs在 Ubuntu 框中安装。

有没有人遇到同样的情况并找到解决方案?

小智 5

我遇到了类似的问题,需要安装包keyutils