public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* why do i get "Stale NFS file handle" for hours?
@ 2004-09-05  1:06 Sven Köhler
  2004-09-05  1:39 ` Trond Myklebust
  0 siblings, 1 reply; 17+ messages in thread
From: Sven Köhler @ 2004-09-05  1:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: nfs

Hi,

i think i know what's going an, and why i get the "stale nfs handle" 
error-message when the NFS server is restartet (real reboot, or a simply 
/etc/init.d/nfs restart) but what i don't understand is, why the NFS 
client doesn't "remount" the filesystem autmatically. In case of NFS 
over tcp, the NFS client could easily detect a restart of the NFS server 
(the tcp-connection was aborted) or are there other factors that keep 
the NFS client from recognizing such stuff?

The scenaria that made me writing this, is that i'm setting up an NFS 
server at my college right now. It will export a directory to many 
clients where i don't have root-access. The NFS-directories are mounted 
by the clients via automounter, and if i restart my Server for any 
reason, i will get the "stale nfs handle" for hours. The kernel does 
neither remount nor unmount the directory, and the automounter simply 
doesn't unmount it too. It keeps mounted, and that will cause me 
troubles for hours.

Were that any thought on that subject here or in any other mailinglist?
Is there any chance, that this might be improved in the future somehow?


Thx
   Sven



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2004-09-07  0:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-05  1:06 why do i get "Stale NFS file handle" for hours? Sven Köhler
2004-09-05  1:39 ` Trond Myklebust
2004-09-05  1:51   ` Sven Köhler
2004-09-05  2:02     ` Trond Myklebust
2004-09-05  2:23       ` Sven Köhler
2004-09-05  3:01         ` Trond Myklebust
2004-09-05  8:17           ` Tim Connors
2004-09-05  8:59             ` Florian Weimer
2004-09-05  9:02               ` Tim Connors
2004-09-05 16:20             ` Mike Jagdis
2004-09-06  1:32               ` Tim Connors
2004-09-05 13:18           ` Sven Köhler
2004-09-05 20:10             ` Trond Myklebust
2004-09-06  7:47               ` Kalin KOZHUHAROV
2004-09-06  9:57           ` David Woodhouse
2004-09-06 15:59             ` Trond Myklebust
2004-09-07  0:55           ` [NFS] " Greg Banks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox