From owner-freebsd-questions@FreeBSD.ORG Sun Oct 1 00:11:18 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 C9BB816A407 for ; Sun, 1 Oct 2006 00:11:18 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from zeus.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 864A043D4C for ; Sun, 1 Oct 2006 00:11:17 +0000 (GMT) (envelope-from freebsd@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.83]) (authenticated bits=0) by zeus.dfwlp.com (8.13.6/8.13.6) with ESMTP id k910BEB1015249 for ; Sat, 30 Sep 2006 19:11:15 -0500 (CDT) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: Free BSD Questions list Date: Sat, 30 Sep 2006 19:11:14 -0500 User-Agent: KMail/1.9.4 References: <20060930235617.GA11336@teddy.fas.com> In-Reply-To: <20060930235617.GA11336@teddy.fas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609301911.14630.freebsd@dfwlp.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.5 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on zeus.dfwlp.com Subject: Re: More NFS exports questions :-( 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: Sun, 01 Oct 2006 00:11:18 -0000 On Saturday 30 September 2006 18:56, stan wrote: > Sorry, this should be simpople, but i'm having a bad day with it :-( > > Given and /etc/exports file that looks like this: > > cvsup# cat /etc/exports > /data/FreeBSD/distfiles -maproot=root: -network 170.85.113.0 -mask > 255.255.255.128 /data/FreeBSD/distfiles -maproot=root: -network > 170.85.109.0 -mask 255.255.255.128 /data/FreeBSD/distfiles -maproot=root: > -network 170.85.106.128 -mask 255.255.255.128 /data/OpenBSD/distfiles > -maproot=root: -network 170.85.113.0 -mask 255.255.255.128 > /data/OpenBSD/distfiles -maproot=root: -network 170.85.109.0 -mask > 255.255.255.128 /data/OpenBSD/distfiles -maproot=root: -network > 170.85.106.128 -mask 255.255.255.128 /data/OpenBSD/packages -maproot=root: > -network 170.85.113.0 -mask 255.255.255.128 /data/OpenBSD/packages > -maproot=root: -network 170.85.109.0 -mask 255.255.255.128 > /data/OpenBSD/packages -maproot=root: -network 170.85.106.128 -mask > 255.255.255.128 > > And a filesystem structure that looks like this: > > cvsup# ls -ld /data > drwxr-xr-x 7 root wheel 512 Sep 30 17:58 /data > > cvsup# ls -l /data/OpenBSD > total 4 > drwxr-xr-x 2 root wheel 512 Sep 30 17:58 distfiles > drwxr-xr-x 2 root wheel 512 Sep 30 19:34 packages > > Can anyone tell me why mountd gives me this error? > > mountd: got line /data/OpenBSD/packages -maproot=root: -network > 170.85.106.128 -mask 255.255.255.128 > mountd: found ep fs=0x3e331d82,0xb21e5b03 > mountd: doing opt -maproot=root: -network 170.85.106.128 -mask > 255.255.255.128 mountd: doing opt -network 170.85.106.128 -mask > 255.255.255.128 > get_net: v4 addr 170.85.106.128 > mountd: doing opt -mask 255.255.255.128 > get_net: v4 addr 255.255.255.128 > mountd: can't change attributes for /data/OpenBSD/packages to help make some sense, it might help to see the output of 'df -h' on your system. my first inclination is that you might be vearing off the configuration rules path. take a look at section '25.3.2 Configuring NFS' of the handbook, at the paragraph starting with: "The following is an example of a valid export list..." in the example, notice how /usr/src and /usr/ports are exported on the same line? i have a strong feeling (again, based on your filesystem setup) that you might need to explore this area to solve your issue. hth, jonathan