Re: NFS corruption revisited

David Weinehall (tao@acc.umu.se)
Wed, 15 Sep 1999 17:25:26 +0200 (MET_DST)


On Wed, 15 Sep 1999, Jimmie Mayfield wrote:

>
> Hi all. Not to beat a dead horse, but I'm also running into problems with
> NFS corruption while compiling programs in an NFS-mounted directory.
> The corruption does not occur when building locally.
>
> Setup:
> NFS server: AIX 4.3.2 box (PPC 604e) with the most recent
> NFS server patches.

AIX licenses Sun's NFS-server, and Sun's NFS-server is buggy. There are
patches available for Solaris, but not for AIX.

[snip]

> 2) it occurs at a page boundary. in other cases, I think I've seen the
> corruption occur a few bytes before the boundary.

The corruption is caused by the fact that Sun's NFS-server ignores the
packet-size field and uses the actual size of the packet instead.

[snip]

> 4) Changing NFS read/write block sizes didn't solve the problem

Hmmmm. It seems to work for us (we're experiencing the same problems here)
if you use 1k or 2k blocksize.

[snip]

/David

_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </

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