Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 1995 19:29:17 -0700
From:      the <the@best.com>
To:        bugs@freebsd.org
Cc:        dima@blob.best.net
Subject:   Got another one.
Message-ID:  <199507150229.TAA25606@blob.best.net>

next in thread | raw e-mail | index | archive | help
    This one is very weird, and all I can think of is a bug in NFSv3 relating
    to partially dirty buffers.

    Download some huge files from somewhere... make sure you download them
    into an NFS mounted partition (that is, you are on a client).

	    ftp ftp.cdrom.com
	    binary
	    get ls-lR.Z x1
	    get ls-lR.Z x2
	    get ls-lR.Z x3
	    get ls-lR.Z x4

    Then compare the files to each other.  'cmp' fails!!  Writing my own
    little compare, I found random blocks in these files ZERO'd out!
    Yikes!  One block was 3072 bytes in size, another was 2560.  The errornous
    blocks always fill at the latter part of a 4K segment.

    If you 'cp' files to an NFS partition, the problem does not occur.

    If you download files via FTP to a non-NFS partition, the problem does
    not occur.

    I can only infer that partial write() calls from the FTP (due to TCP
    segmentation) are being messed up by NFS.
     
					-Matt

index 1a3600 00 7e (diff 7e)
index 1a3601 00 ad (diff ad)
index 1a3602 00 65 (diff 65)
index 1a3603 00 9b (diff 9b)
index 1a3604 00 aa (diff aa)
index 1a3605 00 9f (diff 9f)
index 1a3606 00 02 (diff 02)
index 1a3607 00 a2 (diff a2)
index 1a3608 00 1a (diff 1a)
  ... continues ...
index 1a3ff4 00 47 (diff 47)
index 1a3ff5 00 9b (diff 9b)
index 1a3ff6 00 69 (diff 69)
index 1a3ff7 00 aa (diff aa)
index 1a3ff8 00 9c (diff 9c)
index 1a3ff9 00 4e (diff 4e)
index 1a3ffa 00 a1 (diff a1)
index 1a3ffb 00 72 (diff 72)
index 1a3ffc 00 ae (diff ae)
index 1a3ffd 00 41 (diff 41)
index 1a3ffe 00 aa (diff aa)
index 1a3fff 00 6f (diff 6f)

index 25b400 00 19 (diff 19)
index 25b401 00 fc (diff fc)
index 25b402 00 0e (diff 0e)
index 25b403 00 ab (diff ab)
  ... continues ...
index 25bff8 00 b5 (diff b5)
index 25bff9 00 52 (diff 52)
index 25bffa 00 48 (diff 48)
index 25bffb 00 6c (diff 6c)
index 25bffc 00 8e (diff 8e)
index 25bffd 00 fa (diff fa)
index 25bffe 00 11 (diff 11)
index 25bfff 00 c9 (diff c9)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507150229.TAA25606>