Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2003 16:45:38 -0700
From:      Mark Woodson <mwoodson@sricrm.com>
To:        questions@freebsd.org
Subject:   NFS problems
Message-ID:  <200307091645.38964.mwoodson@sricrm.com>
In-Reply-To: <20030709125809.B85040@bolthole.com>
References:  <005d01c34640$eeddcb30$800101df@99klong> <18086.1057780041@kanga.nu> <20030709125809.B85040@bolthole.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307091645.38964.mwoodson>