Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 22:57:56 -0800 (PST)
From:      Bill Schoolcraft <runfreebsd@yahoo.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   nfs exporting mounted iso files ?
Message-ID:  <20051214065756.21188.qmail@web35303.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051214065756.21188.qmail>