有一个支持NFS v3和4的linux服务器,以及一个运行NFS客户端服务的WinXP虚拟机。 XP可以ping服务器,但不能挂载NFS共享。
从/ etc / exports:
/home/files 192.168.0.0/24(ro,all_squash,anonuid=1003,anongid=1003,insecure,no_subtree_check)
--debug选项传递给nfsd ,但在/ var / log / messages中没有看到相应的输出。 看起来像请求没有来到服务器。
在我跑步的时候在窗户上
mount 192.168.0.1:\home\files Z:
我有
ERROR — Invalid command line argument mount 192.168.0.1:\home\files Z: ^^^^^^^^^^^^^^^^^^^^^^^
如果我去
net use Z: 192.168.0.1:\home\files
它抛出
System error 67 has occurred. The network name cannot be found.
地址小改后
net use Z: \\192.168.0.1\home\files
它跳过一秒钟,然后给出另一个错误:
System error 1231 has occurred. The network location cannot be reached. For information about network troubleshooting, see Windows Help.
根据下载的“UNIX服务”的数字签名和最后一个mod时间,大概是2003 – 2004年。 运行服务器的Linux内核是new-3.10,所以可能会有某种不兼容性。 但是,NFS v4在2000年12月发布了,所以我不确定。 我试图禁用Windows的防火墙,但没有运气。 服务器不应该阻止NAT的任何端口。
尝试执行以下命令
mount 192.168.0.1://home/files Z:
这应该适合你。
如果要装入根文件夹,请执行该命令
mount 192.168.0.1:/! Z:
PS:至于为什么这个作品,不知道,我是一个总的NFS noob …如果有人知道,请在评论中分享。