Comment 94 for bug 453579

Revision history for this message
Axos (sancroff) wrote : Re: corruption of large files reported with linux 2.6.31-14.46 on ext4

I just finished a clean install of 9.10 (new default partitions...nothing retained from previous install) on a Toshiba notebook with an old-school 120 GB parallel ATA drive (whatever you call the drives that came before SATA) and 2 GB of RAM.

I ran the following commands:

openssl rand -out foo 629145600
md5sum foo
sync
md5sum foo
cp foo bar
md5sum foo bar
sync
md5sum foo bar
openssl rand -out foo2 1073741824
md5sum foo2
sync
md5sum foo2
cp foo2 bar2
md5sum foo2 bar2
md5sum foo bar foo2 bar2 > sums
# rebooted the system
md5sum foo bar foo2 bar2

All the sums were consistent. No variation. Either my system doesn't have the problem -or- there is something else which triggers it. For instance, maybe the files need to be some odd size rather than a clean multiple of 1 MB. The sizes I used above were 600 * 1024 * 1024 and 1024 * 1024 * 1024. I'll retry the test with an additional 17 bytes added to the file sizes to see if that makes any difference. I'll post again if it does.