From owner-freebsd-questions Fri Jul 18 00:47:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA07032 for questions-outgoing; Fri, 18 Jul 1997 00:47:52 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts10-line14.uoregon.edu [128.223.150.112]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA07023 for ; Fri, 18 Jul 1997 00:47:47 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id AAA00500; Fri, 18 Jul 1997 00:47:39 -0700 (PDT) Date: Fri, 18 Jul 1997 00:47:38 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Dan Rench cc: freebsd-questions@FreeBSD.ORG Subject: Re: NFS mount of CD-ROMs have no subdirectories In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 16 Jul 1997, Dan Rench wrote: > I've got a machine running 2.2.2-RELEASE with several CD-ROM > drives. I'm already exporting the CDs with samba, but I'm having > trouble exporting them with NFS. Locally, I have the CD's mounted > under a directory called /exports (/exports/cd0, exports/cd1, etc.). > If I NFS mount /exports, I see the cd* subdirectories, but they're > all empty. As a test, I added another line to /etc/exports to export > my /usr directory, and when nfs mounting that, all the subdirectories > showed up as expected. So then I went over to my machine running > 2.2.1-RELEASE and tried exporting a CD-ROM off that, and it worked! > (meaning I could see the subdirectories remotely). Make sure you kill -HUP mountd after mounting the CDROMs. Supposedly this happens automatically but you can never be sure. > My /etc/exports on the 2.2.2 machine looks like this: > > /exports -ro -network 38.152.138 -mask 255.255.255.0 > /usr -ro -network 38.152.138 -mask 255.255.255.0 > > I've tried nfs mounting from FreeBSD 2.2.1 and Linux 1.2.13 > and got the same results: empty subdirectories for the CDs. > Any hints? Exports won't cross mountpoints. If you want to export /exports/cdrom, you'll need to add it to /etc/exports. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo