From: Wade Hampton <wade.hampton@nsc1.net>
Cc: nfs@lists.sourceforge.net
Subject: Re: df hangs on down nfs server mounted with hard,intr, can't kill
Date: Tue, 09 Mar 2004 15:08:54 -0500 [thread overview]
Message-ID: <404E2456.4000801@nsc1.net> (raw)
In-Reply-To: <482A3FA0050D21419C269D13989C61130435DD25@lavender-fe.eng.netapp.com>
Lever, Charles wrote:
>hi wade-
>
>the fact that "intr" doesn't work as expected is a bug, and
>folks are attempting to address this at least partially in 2.6.
>
>
Thanks. While they they are addressing it, it would be nice to have
a means of calling statvfs with a timeout or always have statvfs
interruptable (even if mounted hard w/o intr).
One kernel goal should be to allow someone to lose a mount or USB device,
and still be able to kill any running jobs/modules, but not have to
reboot the
computer (NFS yesterday on one machine, USB today on another).
>if you want a way to do a "df" without hanging your client,
>try using a soft mount with a short-ish timeout for your
>df requests.
>
>
I had to go with the hard mount command due to the type of NFS
server I have to access (legacy system).
>caveat: read the Linux NFS FAQ for more on using "soft" safely.
>
>
Thanks. I will.
Do you think that doing a showmount before doing a df would be
a safe approach for now?
showmount -e <server>
if it fails
return error code
else
df <mount point>
Thanks,
--
Wade Hampton
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2004-03-09 20:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-09 19:51 df hangs on down nfs server mounted with hard,intr, can't kill Lever, Charles
2004-03-09 20:08 ` Wade Hampton [this message]
2004-03-10 8:09 ` Olaf Kirch
2004-03-10 19:18 ` Trond Myklebust
2004-03-11 9:31 ` Olaf Kirch
2004-03-11 19:44 ` Trond Myklebust
2004-03-12 8:54 ` Olaf Kirch
2004-03-15 5:21 ` Yusuf Goolamabbas
2004-03-15 17:03 ` Trond Myklebust
2004-03-15 18:15 ` Steve Dickson
-- strict thread matches above, loose matches on Subject: below --
2004-03-15 22:57 df hangs on down nfs server mounted with hard,intr,can't kill Lever, Charles
2004-03-16 2:26 ` Steve Dickson
2004-03-09 19:33 df hangs on down nfs server mounted with hard,intr, can't kill Wade Hampton
2004-03-10 2:40 ` Ian Kent
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=404E2456.4000801@nsc1.net \
--to=wade.hampton@nsc1.net \
--cc=nfs@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.