Bekijk de volledige versie : Cannot mount using NFS between 500g & 500gP

06-01-2007, 18:56
I have a 500g(oleg1.9.2.7-7c) and a 500gP(oleg In this setup, my 500gP is the main internet & LAN router/gateway/media server. The 500g is solely used for usb-audio. 500g is in router mode & WDS mode and gets an ip from 500gP. The 500gP is in home gateway & hybrid mode. Hybrid is needed to have the 500g act as a 'client'.

The 500gP has a 300GB usb harddisk attached. I want the 500g to connect to this harddisk to have an /opt mount and use ipkg etc. Therefore I'd thought I should use NFS for this.

I enabled NFS on both the 500g & 500gP through the webinterface. I edited the /etc/exports on the 500gp like this:

# automagically generated from web settings

IP of 500gP = ('cadillac')
IP of 500g = ('spirit')

On the 500g, I try:

mount -t -nfs /opt

The return is:

[prive@spirit root]$ mount -t nfs /opt
mount: failed, reason given by server: Permission denied
mount: nfsmount failed: Bad file descriptor
mount: Mounting on /opt failed: No such device

So it seems that permissions are still not set right. I searched this forum for 2 hours and tried everyting, but I am really stuck now. I have the feeling that nfs should easily work since it is true linux sharing! But the only thing I have working at the moment is samba which is working like a champ;). Can someone put me in the right direction?

showmount and showmount -e do not give the nfs shares in /etc/exports:

[prive@spirit root]$ showmount
Hosts on
[prive@spirit root]$ showmount -e
Export list for
[prive@spirit root]$

15-02-2007, 19:07

I've a similar issue, my NFS share is on a Nas (ss4000-e from intel)
I've no issue mounting NFS share from my other linux boxes (Debian 2.6.x)

But the Wl500g cannot mount the NFS share see error message

[root@intranet root]$ mount -t nfs /opt/NasServer/
mount: Mounting on /opt/NasServer failed: No such device

But on my NAS log it should be ok

Feb 15 20:04:23 (none) user.notice rpc.mountd: authenticated mount request from intranet.mynetwork.net:863 for /nas/NASDisk-00002/wl500_85 (/nas/NASDisk-00002/wl500_85)

Could it be the Nas serveur using NFS V4 ?

21-02-2007, 21:48
I had simillar problem on my wl-500gp. Restarting of the mountd deamon solved it.

killall mountd

I've put these lines to post-boot script and nfs works very well now.