public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* Time to declare war on "stale nfs file handle"
@ 2013-02-19 22:36 Mark Lehrer
  2013-02-20 20:21 ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Lehrer @ 2013-02-19 22:36 UTC (permalink / raw)
  To: linux-nfs


I set up a pair of servers with DRBD, Pacemaker, and a virtual IP address.  I am mounting with NFSv3 & TCP.  The /etc/exports entry looks like this:

/nfs/volume01   *(rw,no_root_squash,fsid=778,insecure,async)


Failing between nodes seems to work well whenever I am testing it.
However, it seems that whenever I get into a situation where it has
been running for awhile and then I fail over, clients get the dreaded
Stale NFS file handle error on any open files.  In this case they are
VM images, which means lots of rebooting.

What should I do to prevent this error from happening?  I didn't have any
luck with exportfs -f.  Unfortunately this is a tough one to duplicate so
I am just trying to prepare a few tests for the next time it happens.

Also, I understand that NFSv4 is not quite as stateless as the older versions.
Will this kind of arrangement have potential data loss issues on NFSv4?

Thanks,
Mark


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

end of thread, other threads:[~2013-02-21 21:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-19 22:36 Time to declare war on "stale nfs file handle" Mark Lehrer
2013-02-20 20:21 ` J. Bruce Fields
2013-02-21 21:01   ` Mark Lehrer

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