Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 1997 00:47:38 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Dan Rench <sickboy@lvdl.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: NFS mount of CD-ROMs have no subdirectories
Message-ID:  <Pine.BSF.3.96.970718004639.283X-100000@localhost>
In-Reply-To: <Pine.BSF.3.95q.970716164332.9509A-100000@smtp.lvdl.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970718004639.283X-100000>