Find the answer to your Linux question:
Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Angry 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
    Ubuntu 9.10

    I have noticed a lot of data corruption in subversion repositories on this server. I did a small experiment

    1. Created a file
    2. Calculated sha1sum ade70e0e5f579c63e3b238b733a034714f33338a
    3. Copied file to
    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.

    Some examples.

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts