From owner-freebsd-questions@FreeBSD.ORG Tue Aug 21 18:49:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1932916A41B for ; Tue, 21 Aug 2007 18:49:25 +0000 (UTC) (envelope-from ges+lists@wingfoot.org) Received: from wingfoot.org (caduceus.wingfoot.org [64.32.179.50]) by mx1.freebsd.org (Postfix) with ESMTP id DE4F813C4B3 for ; Tue, 21 Aug 2007 18:49:24 +0000 (UTC) (envelope-from ges+lists@wingfoot.org) Received: from localhost (localhost [127.0.0.1]) by wingfoot.org (Postfix) with ESMTP id 447CD1F441E for ; Tue, 21 Aug 2007 14:17:07 -0400 (EDT) X-Virus-Scanned: amavisd-new at wingfoot.org Received: from wingfoot.org ([127.0.0.1]) by localhost (wingfoot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0N9ZaadrVa3n for ; Tue, 21 Aug 2007 14:16:54 -0400 (EDT) Received: from www.wingfoot.org (localhost [127.0.0.1]) by wingfoot.org (Postfix) with ESMTP id 0972D1F4407 for ; Tue, 21 Aug 2007 14:16:53 -0400 (EDT) Received: from 135.245.152.33 (SquirrelMail authenticated user ges) by www.wingfoot.org with HTTP; Tue, 21 Aug 2007 14:16:54 -0400 (EDT) Message-ID: <41081.135.245.152.33.1187720214.squirrel@www.wingfoot.org> Date: Tue, 21 Aug 2007 14:16:54 -0400 (EDT) From: "Glenn Sieb" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: NFS /etc/exports question.. 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, 21 Aug 2007 18:49:25 -0000 I've recently reclaimed a Gentoo server and turned it into a FreeBSD 6.2-RELEASE system (::sounds of cheering::). This is our file server, using NFS, and I had a question about /etc/exports: We have two subnets we export to--let's call them 127.0.1.0/255 and 10.0.5.0/255: # /etc/exports: NFS file systems being exported. See exports(5). /u2 -alldirs -maproot=root important1.domain.com important2.domain.com /u2/opt/portage -maproot=root -alldirs -network 127.0.0.0 -mask 255.255.255.0 /u2/opt/portage -maproot=root -alldirs -network 10.0.5.0 -mask 255.255.255.0 /u2 -alldirs -network 127.0.0.0 -mask 255.255.255.0 /u2 -alldirs -network 10.0.5.0 -mask 255.255.255.0 /usr -network 127.0.0.0 -mask 255.255.255.0 /usr -network 10.0.5.0 -mask 255.255.255.0 Now, this configuration does not work. I'm curious how to fix it--the logs say: Aug 21 12:29:33 nfsserver mountd[725]: can't change attributes for /u2 Aug 21 12:29:33 nfsserver mountd[725]: bad exports list line /u2 -alldirs -network 127.0.0.0 -mask 255.255.255.0 Aug 21 12:29:33 nfsserver mountd[725]: can't change attributes for /u2 Aug 21 12:29:33 nfsserver mountd[725]: bad exports list line /u2 -alldirs -network 10.0.5.0 -mask 255.255.255.0 One thing to note is that important1.domain.com and important2.domain.com are within the scope of 127.0.0.0/255. Granted, this wasn't an issue in Linux--I used to have machines listed by name (*.sub.olddomain.com), and had the exceptions listed with the no_root_squash parameter. So, basically.. what am I missing? :-/ Any help would be greatly appreciated. Google & man 5 exports have not been my friends today :-/ Thanks in advance! Best, --Glenn