mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shylendra Bhat <shylendra.bhat@hp.com>
To: linux-kernel@vger.kernel.org
Subject: machine hangs - SLES9/NFS
Date: Thu, 01 Jul 2004 17:30:21 +0530	[thread overview]
Message-ID: <1088683221.3552.15.camel@nt2624.india.hp.com> (raw)

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


             reply	other threads:[~2004-07-01 12:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-01 12:00 Shylendra Bhat [this message]
2004-07-01 17:06 ` Trond Myklebust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1088683221.3552.15.camel@nt2624.india.hp.com \
    --to=shylendra.bhat@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®