![在 Debian 中挂载共享的 Windows 文件夹](https://linux22.com/image/625714/%E5%9C%A8%20Debian%20%E4%B8%AD%E6%8C%82%E8%BD%BD%E5%85%B1%E4%BA%AB%E7%9A%84%20Windows%20%E6%96%87%E4%BB%B6%E5%A4%B9.png)
我正在尝试在我的 Debian 机器上安装共享的 Windows 文件夹。我已经安装了 smbclient 和 cifs-utils,然后为了安装它,我输入/etc/fstab
并应用以下行
//xx.xxx.xx.xx/Reports /var/www/csv/tmp cifs guest 0 0
然后我运行mount -a
并收到以下错误
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
什么可能导致此错误?两台机器在同一个网络上,可以无问题地通信。
当我尝试使用 smbclient 连接时,我得到了这个
root@foo:/var/log/samba# smbclient \\\\xx.xxx.xx.xx\\Reports
Enter root's password:
Connection to xx.xxx.xx.xx failed (Error NT_STATUS_UNSUCCESSFUL)
附加信息:
root@foo:/home/foo# mount.cifs --verbose -o guest //xxxxxxxxxx/Repo rts /var/www/csv/tmp
mount.cifs kernel mount options: ip=xxxxxxxxxx,unc=\\xxxxxxxxxx\Reports,guest, user=,pass=********
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)