[ Answering to a post from two and a half years back. :-)
  I was fiddling with nfs and stuff and remembered this thread.
  While reading it, I found out what the problem was. I realize
  (or at least hope) that Han is not still troubleshooting this
  issue, but for the archives... :-) ]

Han Boetes wrote:
Julian Leyh wrote:
Han Boetes <[EMAIL PROTECTED]> wrote:
I just noticed once again you can't export non-ffs filesystems
with NFS. Well you can export them, but after mounting the
partition on the client you won't see any files.
I can't verify this behavior... mounted a msdos filesystem (usb
stick) and exported it via nfs. i could mount and view all files
on target nfs client. (server and client both -current).

Odd...

Could you be so kind to show me the lines of the msdos partition
in /etc/fstab and in exports?

I have:

  ~% grep msdos /etc/fstab
  /dev/sd0a /mnt/usb msdos rw,nodev,nosuid,noatime,noauto 0 0

~% grep usb /etc/exports /mnt/usb/ -mapall=han:nfs marsupilami

The problem is that nfs shares does not traverse file system mount points once initialized. Since nfs probably was started prior to mounting the msdos partition (with the noauto option in /etc/fstab), nfs would only share the contents of the mount point directory itself.

A ``pkill -HUP mountd'' might help after mounting the msdos file system, in order to make mountd aware of the new file system "overriding" the mount point directory.

/Alexander

Reply via email to