From owner-freebsd-questions@FreeBSD.ORG Sun Oct 1 00:52:35 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 7AD8816A407 for ; Sun, 1 Oct 2006 00:52:35 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1310043D46 for ; Sun, 1 Oct 2006 00:52:34 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail1.panix.com (Postfix) with ESMTP id 37497595CA; Sat, 30 Sep 2006 20:52:34 -0400 (EDT) Received: from teddy.fas.com (c-68-58-232-106.hsd1.sc.comcast.net [68.58.232.106]) by mailspool3.panix.com (Postfix) with ESMTP id 9D0EB1130F42; Sat, 30 Sep 2006 20:52:34 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1GTpZJ-0003KG-00; Sat, 30 Sep 2006 20:52:33 -0400 Date: Sat, 30 Sep 2006 20:52:33 -0400 From: stan To: Jonathan Horne Message-ID: <20061001005233.GB12587@teddy.fas.com> Mail-Followup-To: Jonathan Horne , Free BSD Questions list References: <20060930235617.GA11336@teddy.fas.com> <200609301911.14630.freebsd@dfwlp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200609301911.14630.freebsd@dfwlp.com> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 20:43:23 up 166 days, 21:46, 1 user, load average: 0.00, 0.02, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: Free BSD Questions list 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:52:35 -0000 On Sat, Sep 30, 2006 at 07:11:14PM -0500, Jonathan Horne wrote: > 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: cvsup# df -h Filesystem Size Used Avail Capacity Mounted on /dev/amrd0s1a 496M 64M 392M 14% / devfs 1.0K 1.0K 0B 100% /dev /dev/amrd0s1g 969G 1.2G 890G 0% /data /dev/amrd0s1e 989M 12K 910M 0% /tmp /dev/amrd0s1f 85G 6.5G 72G 8% /usr /dev/amrd0s1d 19G 100M 18G 1% /var procfs 4.0K 4.0K 0B 100% /proc cvsup:/data/FreeBSD/distfiles 969G 1.2G 890G 0% /usr/ports/distfiles > > "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. I thought I had tried that but /data/FreeBSD/distfiles /data/OpenBSD/packages -maproot=root: -network aaa.bbb.113.0 -mask 255.255.255.128 Fixes the problem. Thanks VERY MUCH! -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)