nfs exporting mounted iso files ?

Fabian Keil freebsd-listen at fabiankeil.de
Wed Dec 14 02:09:07 PST 2005


Bill Schoolcraft <runfreebsd at yahoo.com> wrote:

> I have been trying to export four mounted iso images under /mnt on my
> FreeBSD-5.4 box via nfs and I can export everything under /mnt but the
> iso's don't show up on the client, only the directories.

> #########################################################
> ere is my /etc/exportfs on the FreeBSD-5.4 server

You mean /etc/exports right?
 
> /mnt    -maproot=0  -network 192.168.1.0 -mask 255.255.255.0
> 
> #########################################################
> 
> Here are the mounted iso's via the mount command on the server.
> 
> /dev/md1 on /mnt/loop1 (cd9660, local, read-only)
> /dev/md2 on /mnt/loop2 (cd9660, local, read-only)
> /dev/md3 on /mnt/loop3 (cd9660, local, read-only)
> /dev/md4 on /mnt/loop4 (cd9660, local, read-only)
> 
> #########################################################
> 
> On the other Unix client box I can mount the exported "/mnt" and see
> all the
> "/mnt/loop*" but no contents.
> 
> On the other Unix client box I can also mount "/mnt/loop1" and still
> not see any contents under "/mnt/loop1"
> 
> On the server the directories are full of contents under
> 
> /mnt/loop1
> /mnt/loop2
> /mnt/loop3
> /mnt/loop4
> 
> I'm thinking that I can nfs export iso filesystems on other
> flavors of Unix like systems but not on FreeBSD.
> 
> Am I missing anything obvious or...?

NFS exports file systems, not directories.

If you put each of your mount points in
/etc/exports it should work. 

Fabian
-- 
http://www.fabiankeil.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051214/91e8dc6b/signature.bin


More information about the freebsd-questions mailing list