Files corrupt on copy

Andy Campbell fedora at starsend.force9.co.uk
Sat Jun 27 18:58:17 UTC 2009


On Sat, 27 Jun 2009 10:16:47 -0700, Peter J. Stieber wrote:

> AC = Andy Campbell
> AC> I'll try reseting the BIOS to defaults.
> 
> Have you tried running memtest.  I had a machine that would reboot very
> so often.  Ran memtest and it failed "every great once in a while."  It
> was a bad MB.
> 
> AC> Strangely I'm trying to reproduce a plain text file (370Mb), AC> so
> I can see how corrupt the file gets ( easier to diff ) AC> and its
> copied fine 64+ times so just seems to be binary files.
> 
> Maybe "cmp -l file1 file2" will help determine where the binary file
> copy problem occurs?
> 
> Pete

Hmm always out by 1 ...

[trantor] ..mp2/tmp/src $while true
while> do
while> cp file1.zip new.zip ; cmp -l  file1.zip new.zip
while> done
107757013 271 270
109383125 206 207
 85093653 373 372
 77726613 206 207
 85093653 373 372
 85899797 373 372
 38258517 373 372
109383125 206 207
107757013 271 270
109383125 206 207
142459477 126 127
107757013 271 270
 40550997 171 170
 85093653 373 372
107757013 271 270
110261013 371 370
 62581653 371 370
109383125 206 207
110526037  71  70
109383125 206 207
 40550997 171 170
 77726613 206 207
109383125 206 207
107757013 271 270




More information about the users mailing list