All of lore.kernel.org
 help / color / mirror / Atom feed
* try tcp first; then udp
@ 2003-11-01 15:34 Oren Held
  2003-11-03 12:01 ` James Pearson
  0 siblings, 1 reply; 2+ messages in thread
From: Oren Held @ 2003-11-01 15:34 UTC (permalink / raw)
  To: nfs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: try tcp first; then udp
  2003-11-01 15:34 try tcp first; then udp Oren Held
@ 2003-11-03 12:01 ` James Pearson
  0 siblings, 0 replies; 2+ messages in thread
From: James Pearson @ 2003-11-03 12:01 UTC (permalink / raw)
  To: Oren Held; +Cc: nfs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-03 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-01 15:34 try tcp first; then udp Oren Held
2003-11-03 12:01 ` James Pearson

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.