Messages in this thread | | | From | Neil Brown <> | Date | Tue, 3 Aug 2004 20:38:52 +1000 | Subject | Re: Problem: nfsd producing stales when restarting too fast |
| |
On Tuesday August 3, fsteiner-mail@bio.ifi.lmu.de wrote: > > Btw, it's not a problem with the init script, I can also > produce this behaviour manually by > /usr/sbin/exportfs -au > killall -9 nfsd > killall -9 /usr/sbin/rpc.mountd > [sleep 5] > /usr/sbin/exportfs -r > /usr/sbin/rpc.nfsd > /usr/sbin/rpc.mountd > > Without the sleep, everything stales. With the sleep, it works > fine.
Try doing the "exportfs -au" *after* killing nfsd. Unexporting active filesystems while nfsd is running almost guarantees stale file handles.
NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |