From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 17:03:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17B4537B401 for ; Wed, 9 Jul 2003 17:03:32 -0700 (PDT) Received: from munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2603343FD7 for ; Wed, 9 Jul 2003 17:03:30 -0700 (PDT) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.20) id 19aOuF-00070O-FV for freebsd-questions@freebsd.org; Thu, 10 Jul 2003 01:03:27 +0100 Date: Thu, 10 Jul 2003 01:03:27 +0100 From: Jez Hancock To: FreeBSD questions List Message-ID: <20030710000327.GA26741@users.munk.nu> Mail-Followup-To: FreeBSD questions List References: <005d01c34640$eeddcb30$800101df@99klong> <18086.1057780041@kanga.nu> <20030709125809.B85040@bolthole.com> <200307091645.38964.mwoodson@sricrm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307091645.38964.mwoodson@sricrm.com> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: NFS problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 00:03:32 -0000 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