lkml.org 
[lkml]   [2004]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.045 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site