nfs exporting mounted iso files ?

Bill Schoolcraft runfreebsd at yahoo.com
Tue Dec 13 22:57:57 PST 2005


Hello Family,

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.

First I mounted all the iso's with the following series of
commands.

mdconfig -a -t vnode -f file1.iso -u 1
mount -t cd9660 /dev/md1 /mnt/loop1

mdconfig -a -t vnode -f file1.iso -u 2
mount -t cd9660 /dev/md2 /mnt/loop2

mdconfig -a -t vnode -f file3.iso -u 3
mount -t cd9660 /dev/md3 /mnt/loop3

mdconfig -a -t vnode -f file4.iso -u 4
mount -t cd9660 /dev/md4 /mnt/loop4

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

/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...?

TIA


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-questions mailing list