Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 01:03:27 +0100
From:      Jez Hancock <jez.hancock@munk.nu>
To:        FreeBSD questions List <freebsd-questions@freebsd.org>
Subject:   Re: NFS problems
Message-ID:  <20030710000327.GA26741@users.munk.nu>
In-Reply-To: <200307091645.38964.mwoodson@sricrm.com>
References:  <005d01c34640$eeddcb30$800101df@99klong> <18086.1057780041@kanga.nu> <20030709125809.B85040@bolthole.com> <200307091645.38964.mwoodson@sricrm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 09, 2003 at 04:45:38PM -0700, Mark Woodson wrote:
> 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
Try placing both fs on the same line:
/usr/src /usr/obj  -ro -maproot=0          cad1 squelcher lappy

Mount points that reside on the same filesystem (ie both on /usr in this
case) have to be listed in the same entry in /etc/exports iirc.  This is
probably why you get the error:

> 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



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