挂载 windows 共享

use*_*207 6 nfs windows mount cifs

我只是花了大约 2 个小时试图简单地在 linux 上安装 Windows 共享。

安装cifs导致致命的挂起,如这里所讨论的。

所以,我想通过安装nfs在讨论页。

我花了几分钟搜索该nfsshare程序,直到我意识到我必须为 Windows 安装 Unix 服务。

下载了大文件后,我被微软的恐吓策略吓到了:this program has known compatibility issues,以及随后的,setup has detected that a required System Service (TCP/IP) is not currently installed...

这甚至是在我从Turn Windows features on or off.

跑步

$ sudo mount -t nfs 192.168.1.76:myshare ~/mount3/
Run Code Online (Sandbox Code Playgroud)

在 Debian 上不断地给我:

mount.nfs: access denied by server while mounting 192.168.1.76:myshare
Run Code Online (Sandbox Code Playgroud)

尽管我已经在 windows 下为每个人打开了阅读、写作和完整的共享问题。

$ sudo showmount -e 192.168.1.76
Run Code Online (Sandbox Code Playgroud)

通常给我:

rpc mount export: RPC: Procedure unavailable
Run Code Online (Sandbox Code Playgroud)

或有时:

clnt_create: RPC: Unable to send
Run Code Online (Sandbox Code Playgroud)

我尝试使用freeNFS.exe,同时仍然在 Debian 上收到访问权限错误。我尝试使用haneWIN,但失败了Failed to start PortMapper

小智 1

首先,您正在使用的命令:

$ sudo mount -t nfs 192.168.1.76:myshare ~/mount3/
Run Code Online (Sandbox Code Playgroud)

会更好,因为

$ sudo mount -t nfs //192.168.1.76/myshare  ~/mount3/ 
Run Code Online (Sandbox Code Playgroud)

并且不要忘记,当使用时~/说出安装在根目录上的任何内容,如果使用 sudo ,它会将您视为“root”,并且没有任何用户记住这一点!您应该检查的另一件事是权限。哪些用户有权访问以及文件系统是什么:NFS、NTFS、FAT16/32 ...?