SMB挂载共享目录出现mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)


发布人 kevin wei  发布时间 1696841575220
关键字 文件共享 




回复 (1)
  • #
  • #1 wx_15926 1696842319462

    可以百度一下:

    You might need to provide the vers= option to the mount command to force version 3.0 if you're trying to mount a share from a newer version of Windows. One of our fileservers was recently upgraded to 2012R2 and that's when my mount stopped working. Setting it to vers=3.0 fixed the issue. Like most Samba/CIFS errors the "No such file or directory" message isn't much help.

    As an example:

    # mount -t cifs //win2012r2/someshare -o cred=/home/foo/.cifs_user,vers=3.0 /mnt/tmp

    https://unix.stackexchange.com/questions/120677/can-not-use-mount-cifs-mount-error2-no-such-file-or-director
 关键字
文件共享

 关注
关注
OnceOA

OnceOA