From: James Pearson <james-p@moving-picture.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: nfs@lists.sourceforge.net
Subject: Re: Questions about NFS over TCP
Date: Wed, 23 Apr 2003 15:48:14 +0100 [thread overview]
Message-ID: <3EA6A7AE.4F5200E7@moving-picture.com> (raw)
In-Reply-To: shsznmhtn7m.fsf@charged.uio.no
Trond Myklebust wrote:
>
> >>>>> " " == James Pearson <james-p@moving-picture.com> writes:
>
> >> The disadvantage of using TCP is that it is not a stateless
> >> protocol like UDP. If your server crashes in the middle of a
> >> packet transmission, the client will hang and any shares will
> >> need to be unmounted and remounted.
>
> This is not really true. If the connection is broken, the client
> should detect it, and automatically attempt to reconnect. It may be
> that there are still bugs (I hope not) but the machinery is already
> there.
Thanks for the info - do you know what the 'best' combination of (2.4.X)
kernel/patches gives the most stable NFS over TCP support?
>
> > What is the 'best' way to get mount to try an TCP mount first -
> > if that fails, then try a UDP mount - I had a look at the mount
> > source and hacked in something to do this if the options -o
> > tcp,udp are given - my hack is very simple, if the TCP mount
> > fails (for whatever reason), the try a UDP mount - however, I
> > don't know how 'safe' this is ...
>
> It should be fairly safe: after all this is what most NFS clients do
> anyway. I've had a patch available for quite some time on
>
> http://www.fys.uio.no/~trondmy/src/util-linux-2.11n.dif.gz
>
> that makes this easy. Just go to the function 'proto_probelist()' and
> swap the order of UDP and TCP.
That seems to work fine ...
Thanks
James Pearson
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2003-04-23 14:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-23 10:30 Questions about NFS over TCP James Pearson
2003-04-23 12:25 ` Trond Myklebust
2003-04-23 14:48 ` James Pearson [this message]
2003-04-23 15:44 ` Trond Myklebust
2003-04-23 18:00 ` Work
2003-04-23 19:13 ` Spencer Shepler
2003-04-24 12:23 ` Steve Dickson
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=3EA6A7AE.4F5200E7@moving-picture.com \
--to=james-p@moving-picture.com \
--cc=nfs@lists.sourceforge.net \
--cc=trond.myklebust@fys.uio.no \
/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