Results 1 to 1 of 1
When I copy a file on my computer the content of that file sometimes changes. I have a system running ubuntu server Ubuntu 9.10 2.6.31-16-generic-pae I have noticed a lot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-28-2011 #1
- Join Date
- Sep 2011
Copying file changes content
When I copy a file on my computer the content of that file sometimes changes.
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 10:34 PM.