From: Steve Dickson <SteveD@redhat.com>
To: Dave Sullivan <dsulliva@redhat.com>, linux-nfs@vger.kernel.org
Cc: David Swegen <dswegen@redhat.com>
Subject: Re: possible better error handling for nfsv4 and localhost maps
Date: Mon, 05 Jan 2015 16:15:46 -0500 [thread overview]
Message-ID: <54AAFF02.7070301@RedHat.com> (raw)
In-Reply-To: <548867D6.5050703@redhat.com>
On 12/10/2014 10:33 AM, Dave Sullivan wrote:
>> Have you tried using the -o timeo=1,retry=0 mount options? They might help...
>>
> But do you really want to have all your other mounts doing this too?
>
> I don't think so, its less resilient right.
>
> I think the /etc/nfsmount.conf fix
>
> [ Server "localhost" ]
> Nfsvers=3
>
>
> Is 100% sufficient, but it still would be nice to have this brought
> up to your attention easier through error handling/logging.
Understood...
>
> Unless in automount configuration you could force nfsv4 to
> do -o timeo=1,retry=0 just for localhost then fallback to
> nfsv3 with different set of options.
>
> But I believe you would then globally being setting nfsv4 to
> use the same -o timeo=1,retry=0 options and I don't think
> there is fallback mechanism either.
>
> So basically I still think to have these mounts land you still
> want the previously document solution.
Documentation has never been a strong suite with Linux NFS...
esp with debugging... Its probably a side effect of being Opensource,
the code is the documentation! ;-)
That said, we have to be careful not to log common errors either...
I too have been frustrated with mounts hang with "Connection refused"
because it was using the wrong address... But its a common error so we
have to be careful about flooding syslog with common occurrences...
I'm not sure adding more debugging code to NFS kernel or user daemons
is the answer... What I think the answer is making the current debugging
more user friendly...
Being able to dynamically turn on and off debugging in daemons. Added
a user friendly address (possibly a GUI) to the current tracepoints.
Tailor the existing systemtab script to make debugging situations
like this more straightforward...
I think efforts in these areas would pay of more than just adding
yet more debugging code...
steved.
prev parent reply other threads:[~2015-01-05 21:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-05 15:20 possible better error handling for nfsv4 and localhost maps Dave Sullivan
2014-12-06 16:38 ` Steve Dickson
2014-12-10 15:33 ` Dave Sullivan
2015-01-05 21:15 ` Steve Dickson [this message]
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=54AAFF02.7070301@RedHat.com \
--to=steved@redhat.com \
--cc=dsulliva@redhat.com \
--cc=dswegen@redhat.com \
--cc=linux-nfs@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