NFS problems

Mark Woodson mwoodson at sricrm.com
Wed Jul 9 16:45:00 PDT 2003


I'm having trouble getting NFS exports to work properly on FreeBSD.  I'm 
running 4.8-STABLE as of July 3.

It's acting like the problem is in /etc/exports.

squelcher# less /etc/exports
/usr/src        -ro -maproot=0          cad1 squelcher lappy
/usr/obj        -ro -maproot=0          cad1 squelcher lappy

/usr/src will export and is mountable
/usr/obj is not

squelcher# ls -ls /usr
total 54
[edited for brevity]
 2 drwxr-xr-x   3 root  wheel   512 Jun  5 10:45 obj
 2 drwxr-xr-x  21 root  wheel   512 Jun  9 15:54 src

on squelcher (the nfs server) I see this in messages when I start/sighup 
mountd.

squelcher# tail  /var/log/messages
Jul  9 13:09:00 squelcher mountd[16110]: can't change attributes for /usr/obj
Jul  9 13:09:00 squelcher mountd[16110]: bad exports list line /usr/obj -ro 
-maproot
Jul  9 13:09:29 squelcher mountd[16110]: mount request denied from 10.1.2.60 
for /usr/obj

and "Access denied" messages on lappy (the nfs client).

The permissions look the same, the exports lines are the same, and I must be 
missing something but I can't figure out what it is.

-Mark



More information about the freebsd-questions mailing list