On Fri, Nov 28, 2008 at 05:05:44PM +0100, Dr. Tilmann Bubeck wrote: > To be more precise: the order between "exportfs -r" and "modprobe nfsd" is > important (and not "exportfs -r" and "rpc.mountd"). So, I'm confused: what are the before-and-after orders of all three (modprobe, exportfs, and rpc.mountd)? > > Am Freitag, 28. November 2008 15:41:38 schrieb Dr. Tilmann Bubeck: > > According to manual page "exportfs -r" has two modes: legacy and new. > > Fedora 10 seems to use the new mode and mounts /proc/fs/nfsd. > > > > But they use the following order in /etc/init.d/nfs: > > exportfs -r > > rpc.mountd > > > > This results in /proc/fs/nfsd/exports having all obsolete entries > > from /var/lib/nfs/rmtab which causes a lot of trouble with stale NFS file > > handles. What problems exactly? > > This seems to be wrong according to "man exportfs" in new mode. > > > > If I change the order to > > rpc.mountd > > exportfs -r > > > > then everything is OK and /proc/fs/nfsd/exports only contains the info > > from /etc/exports and not all stale clients. This seems to be correct > > according to "man exportfs" in new mode. > > > > Questions: is this behaviour a bug or at least bad? Shouldn't exportfs > > being changed, so that when it detects "new" mode it will never feed rmtab > > into the kernel and rely upon rpc.mountd answering the kernels questions as > > stated in "man exportfs"? That does sound wrong. Perhaps rmtab should also be cleared on exportfs -r? I don't really understand how rmtab should work. --b. > > > > If yes, then the order or the programs is irrelevant. > > If not, should the order of the programs be reversed in Fedora? > > > > Thanks > > Till > > > > -- > +-------+-------------------------------------------------------------+ > | | dr. tilmann bubeck reinform medien- und | > | | informationstechnologie AG | > | rein | fon : +49 (711) 7 82 76-52 loeffelstr. 40 | > | form | fax : +49 (711) 7 82 76-46 70597 stuttgart / germany | > | AG | cell.: +49 (172) 8 84 29 72 fon: +49 (711) 75 86 56-10 | > | | email: t.bubeck@xxxxxxxxxxx http://www.reinform.de | > | +-------------------------------------------------------------+ > | | pflichtangaben nach paragraph 80, AktG: | > | | reinform medien- und informationstechnologie AG, stuttgart | > | | handelsregister stuttgart, HRB 23001 | > | | vorstand: dr. tilmann bubeck (vorsitz), dr. tommy kuhn | > | | aufsichtsrat: frank stege (vorsitz) | > +-------+-------------------------------------------------------------+ > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html