Suse 11.1, NFS, exportfs

I tried to mount an NFS volume on my MacBook at home and it was failing. I hadn’t accesed my NFS in a month since I updated to OpenSuse 11.1 or changed some network parameters.
Checking the logs on the server (/var/log/messages) showed this error:

mount request from unknown host

but the IP address seemed good. I checked the exported filesystems:

$ sudo exportfs
/home           192.168.13.*

and everything looked fine. Checked the exports(5) man page:

$ man 5 exports

and realized the “*” is meaningless in that context. Changed /etc/exports to use the /24 address for my network:


and re-exported:

$ sudo exportfs -ra

Mac OS X (10.5), NFS, and Linux

I got around to getting my MacBook to mount an NFS filesystem from my Linux server. There’s a nice set of instructions on using the Directory Utility to do so. The problem stumping me was:

kernel: nfsd: request from insecure port (!

And the bit of magic that eluded me before was adding the “-P” option:
Directory Utility.png
Unfortunately, my uid on my MacBook is 500 and on my Linux server it is 1000.
There’s an option for more recent implementations of NFS that allow the
/etc/exports file to include a ‘map_static=”/etc/nfs_map”‘ option to specify a
uid mapping but it’s not available in OpenSuse.