You are not logged in.

#1 2008-12-12 14:40:01

frukt
Member
Registered: 2008-12-12
Posts: 14

Access denied to NFS share from Arch running in VirtualBox

Hi, a newcomer to Arch over here - having a small problem with NFS

I'm trying out Arch in Virtualbox, and it's a like fresh breeze coming from Debian. Mounting and NFS share is giving me troubles, though. It works fine on the Debian host, but I get an "access denied" error on the guest (i.e. arch), even though the hostname is same and the requests go out on the same IP address (Virtualbox is NAT-ed, but everything goes out on the host's eth0 anyway):

sudo mount -t nfs my.nfs.server:/share/home tmp/
mount.nfs: access denied by server while mounting my.nfs.server:/share/home

I've analyzed the RPC MOUNT requests with wireshark, and they're practically identical whether coming from Debian or Arch. Same hostname, same UID (0=root), same GID (0=root) ... but access is denied to Arch.

I do not have access to the NFS server, but this is clearly not a server issue.

Any ideas are welcome, I'm stumped.

Offline

#2 2008-12-12 18:39:10

frukt
Member
Registered: 2008-12-12
Posts: 14

Re: Access denied to NFS share from Arch running in VirtualBox

OK, solved the problem already: as VirtualBox is NAT'ed, the NFS requests go out on ports >1024, and binding on non-privileged ports is disabled by default in NFS configuration.

Offline

Board footer

Powered by FluxBB