Re: [BUG] 2.4.21: NFS copy produces I/O errors

From: Ole Marggraf (
Date: Mon Jun 16 2003 - 15:29:20 EST

Hello Trond, Andy.

Thank you, both, for the prompt reply.

On Mon, 16 Jun 2003, Andrew Ryan wrote:

> Trond, will tell you to always use hard mounts. Though I believe it is an
> excuse to not fix what it really broken since other UNIXes seem to not have
> problems with soft mounts, it is a Linux problem, IMHO.

Actually, I just played around with the timeouts... It seems to work (only
one try, which is quite bad statistics...) also for a soft mount (hard
mount works anyway) when I raise "retrans" to 20. At retrans=15 I still
get a timeout (but much later, after about 30MB transmitted). This is for
an internal connection via only one switch, and with no significant
network load at the moment.

Which makes me wonder, since our system did not have any such problems for
years with the default retrans=3 (and soft mounts), until we ran into
2.4.20. That's why I actually did not expect that there was a need for
finetuning these parameters, and not by this amount... . 2.4.19 was
running fine, so something has to have changed on the way to 2.4.20.

> I don't know is this is the "right" way to fix this, but this patch has
> worked for me. Kernel versions should not matter, as long as you add the
> !clnt->cl_softrtry to the if statement shown below things should work.
> But if you don't want to try this :

I will test the patch tomorrow, yes, thank you. I'll keep you informed.

Best regards,


 Ole Marggraf                     email:
 Sternwarte, Universitaet Bonn 
 Auf dem Huegel 71
 D-53121 Bonn, Germany            WWW:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:19 EST