Bug 21136 - NFS file corruptions with kernel-2.2.16-3
Summary: NFS file corruptions with kernel-2.2.16-3
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel   
(Show other bugs)
Version: 6.2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2000-11-20 18:05 UTC by frichard
Modified: 2005-10-31 22:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-15 03:47:26 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
NFS v2/v3 patch from Trond/DHiggen (710.91 KB, patch)
2000-11-20 18:09 UTC, frichard
no flags Details | Diff

Description frichard 2000-11-20 18:05:45 UTC
First off, I have a fix for this.  Basically, you need to add the
Trond/Higgin NFS patches to the Kernel SRPM and recompile.  I'm happy to
provide you with my `spec' and `patch' file if you want them.  Just send me

Please try to put this patch into an up-coming `errata' kernel release.  We
had more problems with certain NFS corruptions after upgrading to the
current errata kernel.

The situation is this: I have a program that generates large files [100Meg]
and performs `fseek's to re-write data somewhere back in the file.  Then
there's a read program which verifies the data.  Both programs are
available on request.

Here's a table of the results on various NFS client/server combinations:

    NFS Client      NFS Server      Results
    RedHat 4.2      Solaris 2.6     Works fine
    RedHat 6.1      Solaris 2.6     Works fine
    RedHat 6.1      RedHat 6.2*     Works Poorly ***
    RedHat 6.1+     RedHat 6.2+     Works OK (fewer corruptions)

    RedHat 6.1+     Solaris 2.6     Broken (any "fan in")
    RedHat 6.2+     Solaris 2.6     Broken (any "fan in")
    RedHat 6.1+     Solaris 2.6+    Broken (any "fan in")
    RedHat 6.2+     Solaris 2.6+    Broken (any "fan in")

    RedHat 6.1          "Vanilla" RedHat 6.1
    RedHat 6.1+         Updated RedHat 6.1 (kernel 2.2.16)
    RedHat 6.2+         Updated RedHat 6.1 (kernel 2.2.16)
    Solaris 6.2         "Vanilla" i86 Solaris 6.2
    Solaris 6.2+        i86 Solaris 6.2 + patch cluster

    ***                 The corruptions occurred about %40 of the
                        time and required 10 clients to be writing
                        to the server at the same time.

Comment 1 frichard 2000-11-20 18:09:40 UTC
Created attachment 5563 [details]
NFS v2/v3 patch from Trond/DHiggen

Comment 2 frichard 2000-11-20 18:13:27 UTC
I also updated these packages incase I ever want to try NFS v3 (note that all my
tests were with v2).  The funny version numbers are because I had to hack a few
package spec files to build under RedHat 6.x (I'm happy to send specs if you
want them):


Note You need to log in before you can comment on or make changes to this bug.