All of lore.kernel.org
 help / color / mirror / Atom feed
* Questions about NFS over TCP
@ 2003-04-23 10:30 James Pearson
  2003-04-23 12:25 ` Trond Myklebust
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: James Pearson @ 2003-04-23 10:30 UTC (permalink / raw)
  To: nfs

I've just started experimenting with NFS over TCP and have a few
questions:

The Linux NFS-HOWTO states that:

> 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.

I take this to mean that any client that is not actively accessing data
on the server at the time of a crash will be OK after the server
reboots?

As, I believe, some other OS's use NFS over TCP by default, how do they
get round this problem (or not)?

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 ...

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

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

end of thread, other threads:[~2003-04-24 12:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.