Re: 2.4.8 NFS Problems

Peter T. Breuer (ptb@it.uc3m.es)
Fri, 7 Sep 2001 14:05:10 +0200 (CEST)


"A month of sundays ago Trond Myklebust wrote:"
> >>>>> " " == Mike Black <mblack@csihq.com> writes:
>
> > I've been getting random NFS EIO errors for a few months but
> > now it's repeatable. Trying to copy a large file from one
> > 2.4.8 SMP box to another is consistently failing (at different
> > offsets each time). This doesn't appear to be a network
> > problem as the last comm between the machines looks OK. By the
> > timestamps it appears that a read() is taking too long and
> > causing a timeout?
>
> Morale: Don't use soft mounts: they are prone to these things. If you
> insist on using them, then try playing around with the `timeo' and

Unless you like having all your clients hang when the server happens to
be rebooted, and like having to go round hunting for them in dark
recesses in order to try and fool them into unmounting and remounting,
I'd recommend soft mounts every time!

> `retrans' mount variables.

It would be nice if nfs could do the a remount automatically when the
nfs handle it has goes stale an dit discovers it. Is that part of v3
nfs or not?

> Soft mount timeouts are not only due to network problems, but can
> equally well be due to internal congestion. The rate at which the
> network can transmit requests is usually (unless you are using
> Gigabit) way below the rate at which your machine can generate them.

But soft mounts at least break nicely and automatically. And since
failures are inevitable, I prefer them.

Come to think of it, why not have an option that does a hard,intr but
sends a ^C automatically to all referents when a stale handle is detected.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/