From owner-freebsd-questions Tue Apr 18 19:11:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id CA0C237B943 for ; Tue, 18 Apr 2000 19:11:23 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id WAA56083; Tue, 18 Apr 2000 22:10:52 -0400 (EDT) (envelope-from cjc) Date: Tue, 18 Apr 2000 22:10:51 -0400 From: "Crist J. Clark" To: Doug Barton Cc: Jerry Lei , freebsd-questions@FreeBSD.ORG Subject: Re: about NFS server Message-ID: <20000418221051.E55844@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: <20000417171710.89928.qmail@hotmail.com> <38FBD6A0.55E0C7D7@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38FBD6A0.55E0C7D7@gorean.org>; from DougB@gorean.org on Mon, Apr 17, 2000 at 08:29:36PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 17, 2000 at 08:29:36PM -0700, Doug Barton wrote: > Jerry Lei wrote: > > > > Hi, > > > > I setup a NFS server on one of my FreeBSD. > > But I will get an error message as below. > > Apr 15 22:37:52 freebie mountd[152]: bad xports list line /share > > > > My /etc/exports is as below > > > > /share -maproot=0 -network 192.168.201.0 freebie freefall > > > > What's wrong with my exports? please give me some suggestions. > > In all likelihood, /share is not a real mount point. You cannot export > arbitrary directories. Sure you can, Doug. There are subtleties about how directories must be listed in /etc/exports, however. > It's also possible that your host names aren't > listed in /etc/hosts, or your -network specification is incorrect. I > suspect that you want to leave the .0 off the end of that IP. The problem is that you cannot mix a '-network' options with a listing of individual hosts. I am not sure if the '-mask' argument is optional or not when '-network' is used; feel free to expermiment on that and respond (I don't have energy to try myself or nose through source). The following should be OK for what you seem to want, /share -maproot=0 -network 192.168.201.0 -mask 255.255.255.0 /share -maproot=0 freebie freefall -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message