#5983 closed defect (invalid)
Cannot mount NFS share on guest from the Ubuntu NFS server on host
回報者: | axos88 | 負責人: | |
---|---|---|---|
元件: | network/NAT | 版本: | VirtualBox 3.1.2 |
關鍵字: | nfs ubuntu windows xp nat client unix services | 副本: | |
Guest type: | Windows | Host type: | Linux |
描述
I tried to get NFS mounts to work on Ubuntu 9.10 host, and Windows XP guest. The host serves as the NFS server, and the guest should be the NFS client, using microsoft client services for unix.
There are a few reasons I would like to avoid using samba.
Configuration on host:
/etc/exports:
/home/akos 10.0.2.0/24(rw,sync,no_subtree_check)
ping 10.0.2.101 will not work...
Configuration on guest:
Network adapter 1 in NAT mode. ping 192.168.2.2 works ipconfig return ip address 10.0.2.101 Trying to connect to share \10.0.2.2\home\akos
The error message is not very helpful "An unexpected error has occured".
I talked to one of the guys in #virtualbox, he checked things, and said this was a bug in NFS support, and said that I should file a bug report, so I did.
附加檔案 (1)
更動歷史 (7)
comment:2 15 年 前 由 編輯
Right, I've advised to rise this ticket because I've met similar problem discussed on forum and add to todo investigation if it possible to add to NAT some ability to detect and open right ports automatically. According to major resources I've browsed recently this mostly related to Ubuntu hosts and some manual security settings. Trying several NFS servers (not all ofc) I've found that only Ubuntu ones have got such problems with default configuration.
comment:3 15 年 前 由 編輯
摘要: | Cannot mount NFS share on guest from the NFS server on host → Cannot mount NFS share on guest from the Ubuntu NFS server on host |
---|
comment:4 15 年 前 由 編輯
I have solved the issue, windows SFU opens unprivilidged ports, and the NFS server does not like this. Need to add (insecure) option to exports, afterwards it works fine.
Also need to export to ip 127.0.0.1, and from the guest side need to access 10.0.2.2 (kinda confusing, but logical)
Well, your guest is behind NAT, therefore it wouldn't be accessible from the host and therefore ping wouldn't work of course. The correct setting for /etc/exports on the host is