From owner-freebsd-questions@FreeBSD.ORG Tue Aug 29 21:32:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 AEF8916A4E1 for ; Tue, 29 Aug 2006 21:32:41 +0000 (UTC) (envelope-from up@3.am) Received: from richard2.pil.net (richard2.pil.net [208.8.16.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 59A9343D55 for ; Tue, 29 Aug 2006 21:32:40 +0000 (GMT) (envelope-from up@3.am) Received: (qmail 35033 invoked by uid 1825); 29 Aug 2006 21:32:39 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 29 Aug 2006 21:32:39 -0000 Date: Tue, 29 Aug 2006 17:32:39 -0400 (EDT) From: up@3.am X-X-Sender: up@richard2.pil.net To: freebsd-questions@freebsd.org In-Reply-To: <53750.167.246.36.14.1156885767.squirrel@webmail.dfwlp.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: NFS exports file errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 21:32:41 -0000 On Tue, 29 Aug 2006, Jonathan Horne wrote: > > On Tue, 29 Aug 2006, Bill Moran wrote: > > > >> In response to up@3.am: > >> > >> > > >> > I'm getting the following errors when trying to mount volumes via NFS > >> > between to FBSD 6.1-STABLE machines: > >> > > >> > Aug 29 14:20:41 host mountd[1587]: can't export /usr > >> > Aug 29 14:20:41 host mountd[1587]: bad exports list line /usr -ro > >> -maproot > >> > >> You have to map root to something ... i.e. > >> /usr -ro -maproot root > > > > I did, using this sytax, like I always have: > > > > / -ro -maproot=0 192.x.x.1 > > /usr -ro -maproot=0 root 192.x.x.1 > > /var -ro -maproot=0 root 192.x.x.1 > > /home -ro -maproot=0 root 192.x.x.1 > > > > where 192.x.x.1 is the IP of the only host I want to have access. I tried > > switching to your syntax (taking out the "-0" and putting in " root" but I > > get the same results... > > > > James Smallacombe PlantageNet, Inc. CEO and Janitor > > up@3.am http://3.am > > i thought the syntax was maproot=root, thus, > > / -ro -maproot=root 192.x.x.1 > /usr -ro -maproot=root 192.x.x.1 > /var -ro -maproot=root 192.x.x.1 > /home -ro -maproot=root 192.x.x.1 > > if that doesnt work, then i would remove the -ro, out of wondering if it > could be colliding with the maproot=root. According to the man pages and the FreeBSD manual (years old) either sytax should work (numeric UID or username), but I tried it anyway, to no avail. I just did a "mount" on the server, and here's what I have: su-2.05b# mount /dev/ad0s1a on / (ufs, NFS exported, local) devfs on /dev (devfs, local) /dev/ad0s1f on /home (ufs, local, soft-updates) /dev/ad0s1d on /usr (ufs, NFS exported, local, soft-updates) /dev/ad0s1e on /var (ufs, NFS exported, local, soft-updates) So, in spite of the errors for the /usr and /var file system, they get exported (and I can access them from the client), the /home FS is NOT exported and I cannot access it. The / file system has no errors and is fine... James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am =========================================================================