michaelsanford
Translator, Web Developer
I'm having difficulty isolating the problem with my NFS mounts.
I'm exporting, for example, /tmp from my Slackware server called trogdor.local to my iMac.
root@trogdor:~# cat /etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/tmp 192.168.0.100(rw,sync)
Ok, just to make sure:
root@trogdor:~# exportfs ; /etc/rc.d/rc.nfsd restart
/tmp 192.168.0.100
Starting NFS services:
/usr/sbin/exportfs -r
/usr/sbin/rpc.rquotad
/usr/sbin/rpc.nfsd 8
/usr/sbin/rpc.mountd
/usr/sbin/rpc.lockd
/usr/sbin/rpc.statd
Another just-to-make-sure :
homestar-runner:~ root# ifconfig en0 | grep inet
inet6 fe80::203:93ff:fe86:f73a prefixlen 64 scopeid 0x4
inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255
Now, the hard part
homestar-runner:~ root# mount 192.168.0.110:/tmp /Volumes/trogdor/tmp
mount_nfs: /Volumes/trogdor/tmp: Operation not permitted
Check that the folders exist and are owned by the right people:
homestar-runner:~ root# ls -la /Volumes/trogdor/
total 0
drwxr-xr-x 5 root admin 170 7 Dec 22:01 .
drwxrwxrwt 7 root admin 238 7 Dec 22:00 ..
drwxr-xr-x 2 root admin 68 7 Dec 22:01 ftp
drwxr-xr-x 2 root admin 68 7 Dec 22:01 tmp
drwxr-xr-x 2 root admin 68 7 Dec 22:01 www
So why isn't this working ? The error messages don't tell me much. (My LAN is protected by my router's firewall so there aren't any between my computers and my router isn't configured to block any LAN-LAN traffic).
I'm exporting, for example, /tmp from my Slackware server called trogdor.local to my iMac.
root@trogdor:~# cat /etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/tmp 192.168.0.100(rw,sync)
Ok, just to make sure:
root@trogdor:~# exportfs ; /etc/rc.d/rc.nfsd restart
/tmp 192.168.0.100
Starting NFS services:
/usr/sbin/exportfs -r
/usr/sbin/rpc.rquotad
/usr/sbin/rpc.nfsd 8
/usr/sbin/rpc.mountd
/usr/sbin/rpc.lockd
/usr/sbin/rpc.statd
Another just-to-make-sure :
homestar-runner:~ root# ifconfig en0 | grep inet
inet6 fe80::203:93ff:fe86:f73a prefixlen 64 scopeid 0x4
inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255
Now, the hard part
homestar-runner:~ root# mount 192.168.0.110:/tmp /Volumes/trogdor/tmp
mount_nfs: /Volumes/trogdor/tmp: Operation not permitted
Check that the folders exist and are owned by the right people:
homestar-runner:~ root# ls -la /Volumes/trogdor/
total 0
drwxr-xr-x 5 root admin 170 7 Dec 22:01 .
drwxrwxrwt 7 root admin 238 7 Dec 22:00 ..
drwxr-xr-x 2 root admin 68 7 Dec 22:01 ftp
drwxr-xr-x 2 root admin 68 7 Dec 22:01 tmp
drwxr-xr-x 2 root admin 68 7 Dec 22:01 www
So why isn't this working ? The error messages don't tell me much. (My LAN is protected by my router's firewall so there aren't any between my computers and my router isn't configured to block any LAN-LAN traffic).