VirtualBox

15 年 前 建立

15 年 前 結束

#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)

VBox.log (68.9 KB ) - 15 年 前, 由 axos88 新增

下載所有附檔: .zip

更動歷史 (7)

15 年 前axos88 編輯

附檔: 新增 VBox.log

comment:1 15 年 前Frank Mehnert 編輯

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

127.0.0.1/24(rw,sync,no_subtree_check)

comment:2 15 年 前vasily Levchenko 編輯

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 年 前vasily Levchenko 編輯

摘要: Cannot mount NFS share on guest from the NFS server on hostCannot mount NFS share on guest from the Ubuntu NFS server on host

comment:4 15 年 前axos88 編輯

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)

comment:5 15 年 前vasily Levchenko 編輯

thanks for update.

comment:6 15 年 前vasily Levchenko 編輯

狀態: newclosed
處理結果: invalid
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette