I have a server running debian lenny on which im trying to set up nfs exports.
My problem is that every time I try to mount the nfs share from a client machine (another debian lenny box) I get
Code:
debian:/# mount -t nfs 192.168.86.200:/testmount /test
mount.nfs: mount to NFS server '192.168.86.200' failed: RPC Error: Program not registered
The line in /etc/exports is:
Code:
/testmount 192.168.86.0/255.255.255.0(rw)
exportfs -v gives:
Code:
/testmount 192.168.86.0/255.255.255.0(rw,wdelay,root_squash,no_subtree_check)
I have searched everywhere I can think of to try and find a solution to this problem but with no luck.
All the posts I have found talk about ensuring that portmap is installed, which it is, and starting the services in the right order (starting portmap first, then nfs server), which I have done.
I don't fully understand portmap, all I understand is that it maps rpc ports to unix ports. How does a daemon register with portmap? Should it just do it automatically?
On the server, the output of rpcinfo -p is:
Code:
program vers proto port
100000 2 tcp 111 portmapper
100011 1 udp 809 rquotad
100011 2 udp 809 rquotad
100011 1 tcp 810 rquotad
100011 2 tcp 810 rquotad
100000 2 udp 111 portmapper
100024 1 udp 43432 status
100024 1 tcp 43318 status
Is there anything else that could be configured incorectly to stop the nfs server from registering with portmap?
Thanks.