On Wed, 9 Nov 2011, John Tate wrote:
Misc,
I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system.
# cat
/etc/exports
# $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
#
# NFS exports Database
# See exports(5) for more information. Be very careful: misconfiguration
# of this file can result in your filesystems being readable by the world.
/home -alldirs -rw -network=10.0.0 -mask=255.0.0.0
# ps ax | grep nfs
10290 ?? I 0:00.00 nfsd: server (nfsd)
24226 ?? I 0:00.00 nfsd: server (nfsd)
5635 ?? I 0:00.00 nfsd: server (nfsd)
15980 ?? I 0:00.00 nfsd: server (nfsd)
# hostname
smass.kab.loc
Perhaps network should be 10 not 10.0.0 ? I doubt it because the server
10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work.
# mount -t nfs smass:/home /net/smass/home
mount_nfs: can't access /home: Permission denied
# hostname
rothbard.kab.loc
John Tate
Check the permissions on the exported directory and make sure you've
restarted the NFS server. These are the most common causes for
"permission denied" errors with NFS that I encountered.