Linux NFS development
 help / color / mirror / Atom feed
From: James Pearson <james-p@moving-picture.com>
To: Oren Held <oren@held.org.il>
Cc: nfs@lists.sourceforge.net
Subject: Re: try tcp first; then udp
Date: Mon, 03 Nov 2003 12:01:22 +0000	[thread overview]
Message-ID: <3FA64392.43CE8D@moving-picture.com> (raw)
In-Reply-To: 1067700887.5055.4.camel@localhost

I asked this question a little why ago - Trond Myklebust has a patch
that does lots of other things, but can be easily modified to try tcp
first, then udp (by default his patch does udp first) see:

http://marc.theaimsgroup.com/?l=linux-nfs&m=105111029228592&w=2

I had to make a couple of other changes to the patch to get it to
compile with the RedHat version of the mount (util-linux) source RPM I'm
using - I've put my modified patch at:

ftp://ftp.moving-picture/private/james/util-linux-2.11n-tcpmount.patch.gz

I also had a minor problem on older RH7.1 machines that also need the
following patch:

ftp://ftp.moving-picture/private/james/util-linux-2.11n-cbuf.patch.gz

I've been using this modified mount for a few months without problems.

James Pearson

Oren Held wrote:
> 
> Hi,
> 
> I wonder if there's a way to mount an nfs share without specifying tcp
> or udp mount. I think that this is how Solaris behaves: it tries first
> tcp, if it's not good, then it tries udp.
> 
> I've been looking for such a mount option and found none; I think it can
> be really useful when one has hetrogenous nfs servers (some use tcp,
> some use udp) - in the case I just want it to work and don't care which
> protocol it'll use.
> 
> Is there a way to do it with the current kernel/mount versions?
> 
> 10x
> 
>  - Oren
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

      reply	other threads:[~2003-11-03 12:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-01 15:34 try tcp first; then udp Oren Held
2003-11-03 12:01 ` James Pearson [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=3FA64392.43CE8D@moving-picture.com \
    --to=james-p@moving-picture.com \
    --cc=nfs@lists.sourceforge.net \
    --cc=oren@held.org.il \
    /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