Click to See Complete Forum and Search --> : NFS conventions


novafire
07-09-2002, 01:18 PM
I am having some trouble with accessing some mounted NFS shares. Many times the terminal or window I am using to view their contents simply locks up. Am am wondering if I am doing something wrong.

I want to share /share as ro and /share/tmp as rw, so I have both those entries in my /etc/exports. But, I think I remember reading once that you cannot export a directory and a directory below it. Is this correct? If so, how can I export both shares with their own attributes?

If I am doing nothing wrong here, what can be causing the lockups?

Thanks.

novafire
07-10-2002, 01:50 PM
Any NFS people out there?

jaygee432
07-10-2002, 08:24 PM
There is an -alldirs option for exporting a filesystem and its subdirectories, but I don't think you could have different attributes within the same entry in /etc/exports. Try making just one entry and see if that takes care of the lockups. You can also make a line in /etc/fstab to make it easier to mount the shares you designated in /etc/exports with the noauto option, e.g., just type mount /shares.