Results 1 to 1 of 1
Thread: Copying file changes content
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2011
Copying file changes content
I have a system running ubuntu server
I have noticed a lot of data corruption in subversion repositories on this server. I did a small experiment
1. Created a file test.tar.bz
2. Calculated sha1sum ade70e0e5f579c63e3b238b733a034714f33338a
3. Copied file to test.tar.bz.copy
4. Calculate sha1sum of copy.
Doing this about 4000 times I mostly get the same sha1sum as the original file but in about 0.8 % of the cases I get a sha1sum different from the original.
I have tried this on one raid array but also on a spare disk mounted in the computer I also did a test on a ramdisk with the same result.
Does anyone have any clue on what is going on?
I have started backup info from the server and it seems that using rsync to download also corrupts the data. I have downloaded two copies of things and get differences between the two copies.
Last edited by krillepetter; 09-28-2011 at 09:34 PM.