[vox-tech] Trying to get nfs working
Jay Strauss
vox-tech@lists.lugod.org
Thu, 14 Aug 2003 11:10:05 -0500
I've been following the nfs howto but I'm running into a problem (or 2).
First I can't seem to start nfsd. I keep getting "Function not implemented"
though I don't know which function. And on the client I'm getting a
permission error when I try to mount the file system
I'm running debian woody (out of the box). What am I missing?
Below is what I've done
-- on the client I do:
adams:/etc/init.d# ssh 192.168.5.30
root@192.168.5.30's password:
jefferson:~# mount 192.168.5.10:/usr/local/public /mnt
mount: 192.168.5.10:/usr/local/public failed, reason given by server:
Permission denied
-- On the server I did (prior to the trying to mount from the client)
adams:~# echo "/usr/local/public 192.168.5.0/255.255.255.0(rw)" >>
/etc/exports
adams:~# echo "portmap: 192.168.5.0/255.255.255.0" >> /etc/hosts.allow
adams:~# echo "lockd: 192.168.5.0/255.255.255.0" >> /etc/hosts.allow
adams:~# echo "rquotad: 192.168.5.0/255.255.255.0" >> /etc/hosts.allow
adams:~# echo "mountd: 192.168.5.0/255.255.255.0" >> /etc/hosts.allow
adams:~# echo "statd: 192.168.5.0/255.255.255.0" >> /etc/hosts.allow
adams:~# echo "portmap:ALL" >> /etc/hosts.deny
adams:~# echo "lockd:ALL" >> /etc/hosts.deny
adams:~# echo "mountd:ALL" >> /etc/hosts.deny
adams:~# echo "rquotad:ALL" >> /etc/hosts.deny
adams:~# echo "statd:ALL" >> /etc/hosts.deny
adams:~# cd /etc/init.d
adams:/etc/init.d# ./nfs-common start
Starting NFS common utilities: statd lockd.
adams:/etc/init.d# ./nfs-kernel-server start
Exporting directories for NFS kernel
daemon...192.168.5.50:/usr/local/public: Function not implemented
done.
Starting NFS kernel daemon: nfsd mountd.
adams:/etc/init.d# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 1038 status
100024 1 tcp 1031 status
100005 1 udp 1039 mountd
100005 1 tcp 1032 mountd
100005 2 udp 1039 mountd
100005 2 tcp 1032 mountd
Thanks
Jay