From owner-freebsd-questions Tue Jan 30 22:32:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from deborah.paradise.net.nz (deborah.paradise.net.nz [203.96.152.32]) by hub.freebsd.org (Postfix) with ESMTP id 1C90E37B491 for ; Tue, 30 Jan 2001 22:32:23 -0800 (PST) Received: from p200.afterswish.com (203-79-83-91.cable.paradise.net.nz [203.79.83.91]) by deborah.paradise.net.nz (8.10.1/8.10.1) with ESMTP id f0V6WJ406061 for ; Wed, 31 Jan 2001 19:32:19 +1300 (NZDT) Message-Id: <5.0.0.25.1.20010131184614.01b994f0@pop3.paradise.net.nz> X-Sender: dpreece@pop3.paradise.net.nz X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 31 Jan 2001 19:30:48 +1300 To: freebsd-questions@freebsd.org From: David Preece Subject: Failing to mount /usr/obj over NFS Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just don't get it. I'm trying to have just the one server with a copy of the 4.2 sources (I'm going through a big update all my boxes session), and I thought that while I was at it I may as well have one unified /usr/obj directory as well. The theory goes that with these two mounted over NFS, make buildworld will be faster because the objects are already built (buildworld arguably not necessary?), whilst not affecting installworld. That's the theory, anyway. In practice I can mount /usr/src over NFS with no problem, but cannot mount /usr/obj: #mount cvs:/usr/src /usr/src #mount cvs:/usr/obj /usr/obj nfs: can't access /usr/obj: Permission denied Despite the fact that I have two identical mounts in /etc/exports: /usr/src development /usr/obj development The directories don't have any draconian permissions on the server: bash-2.03$ ls -Flor total 38 [many snipped for brevity] drwxr-xr-x 22 root wheel - 512 Jan 30 14:09 src/ drwxr-xr-x 3 root wheel - 512 Jan 31 08:51 obj/ And on the client nodes exist for both directories (here shown unmounted): #ls -Flor total 35 [snipped again] drwxr-xr-x 2 root wheel - 512 Jan 31 15:11 src/ drwxr-xr-x 2 root wheel - 512 Jan 31 17:00 obj/ From hunches I have tried: Only mounting the /usr/obj directory; removing all the flags from /usr/obj with chflags; and mounting read only. - To no avail. I just cannot tell what is different between the two directories that means I can only connect to one of them. Any ideas? And does anyone have any feedback on the cowboy mounting idea in general? Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message