From owner-freebsd-questions@FreeBSD.ORG Tue Aug 29 21:31:25 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 809AC16A4DA for ; Tue, 29 Aug 2006 21:31:25 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DDE743D49 for ; Tue, 29 Aug 2006 21:31:24 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Tue, 29 Aug 2006 17:31:24 -0400 id 00056413.44F4B22C.000059DC Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 29 Aug 2006 17:30:35 -0400 Date: Tue, 29 Aug 2006 17:31:23 -0400 From: Bill Moran To: up@3.am Message-Id: <20060829173123.1247b9eb.wmoran@collaborativefusion.com> In-Reply-To: References: <20060829164212.c0ec174a.wmoran@collaborativefusion.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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:31:25 -0000 In response to up@3.am: > 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... My mistake -- I mistook the errors in your original post to be the entire exports line. What do your physical mounts look like again? In my experience, if any one exports line is wrong, the whole file fails. Try commenting out all but one of the lines and seeing if the problem goes away. With clever commenting, you can then narrow it down. In the lines above, "root" will be taken as a machine name. While that's unlikely to be the cause of your error, I don't expect it's what you want. The exports man page specifically states that maproot can specify either a username or a uid. -- Bill Moran Collaborative Fusion Inc.