mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* machine hangs - SLES9/NFS
@ 2004-07-01 12:00 Shylendra Bhat
  2004-07-01 17:06 ` Trond Myklebust
  0 siblings, 1 reply; 2+ messages in thread
From: Shylendra Bhat @ 2004-07-01 12:00 UTC (permalink / raw)
  To: linux-kernel

Hello,

I am looking answers for the following questions.

Is nfs file lock acquired by client, persistent across the nfs server
reboot?
I know that this feature was not there in NFSv3. Does NFSv4 supports
this?

Following is the exercise which I did to test nfs file lock.

I have two machines. One among them is the NFS server running on
SLES9(kernel 2.6.5-7.79). The other machine mounts the NFS exported
filesystem.

I have written a application which locks the files over this nfs mount.

After acquiring the lock, I am restarting the nfs service using
"rcnfsserver restart" command.

After the nfs service restart, the client fails to release the lock and
is in a hung state. If the mount directory is listed, it shows

"bash: cd: /export: Stale NFS file handle"

After this behavior of the client, server stops responding. Only way to
bring back the machine is reboot.

Any help is really appreciated.

Thanks & regards
Shylendra


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

end of thread, other threads:[~2004-07-01 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-01 12:00 machine hangs - SLES9/NFS Shylendra Bhat
2004-07-01 17:06 ` Trond Myklebust

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

all inboxes | Powered by JetHome®