Copied files are corrupted
I have a very strange problem on one of our servers:
When a file is copied it get's corrupted, regardless of using cp or dd. Usually small files (a few mb) are ok, but with bigger files (~ 1gb or more) the data corruption occurs certainly.
Last night I've run memtest86+ for about 15 hours, it showed up no errors; the raid controller shows no errors; sometimes fsck reports errors, but even after correcting these errors this "file-corruption-by-copying problem" reoccurs. Does anyone have an idea what else to check?
System: Gentoo, Filesystem: ext3 on RAID5 (hardware raid controller)
I really hope someone can give me another hint...
Cheers,
Dominik
Example:
Code:
> md5sum refseq_rna.00.tar.gz
e0220d9623f2940c1f112b249e5285a0 refseq_rna.00.tar.gz
> cp refseq_rna.00.tar.gz refseq_rna.00.tar.gz.2
> md5sum refseq_rna.00.tar.gz.2
1079307091f6796725ed830ee6e6e55a refseq_rna.00.tar.gz.2
# the sizes are equal
> ls -l
-rw-r--r-- 1 root root 1122490886 Apr 3 15:50 refseq_rna.00.tar.gz
-rw-r--r-- 1 root root 1122490886 Apr 3 15:52 refseq_rna.00.tar.gz.2
# but the differences are quite big, not just a single bit flip:
> cmp -l refseq_rna.00.tar.gz refseq_rna.00.tar.gz.2
593540065 121 226
593540066 5 134
593540067 2 200
...
1113101310 47 43
1113101311 70 323
1113101312 34 376
# in total 85 corrupted bytes