Click to See Complete Forum and Search --> : NFS export under FreeBSD


Alex Cavnar, aka alc6379
02-18-2003, 02:47 AM
Okay... here's my question:

Say I have a filesystem, /mnt, that I have exported. I also have another filesystem mounted under /mnt/disk. Since /mnt/ is exported, should the filesystem under /mnt/disk be accessible as well? Or should I also export /mnt/disk?

The problem is that I'm trying to copy a file from /mnt into /mnt/disk, but instead of actually copying into the filesystem that's mounted there, it actually copies the file into the filesystem that /mnt is in. So, when I look at /mnt/disk on the local machine, I don't see the file I just copied, because the actual filesystem is mounted on top of the directory that is containing my file.

Anyone have any ideas for what to do here? Should I add the -alldirs option or something?

xulfralos
02-21-2003, 06:58 AM
I don't use NFS myself, but trying -alldirs is worth a shot. If that doesn't work, create a new mountpoint under the other one and test it out.