[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

rsync corrupts files

Asked by nuke3dd in rSync Backup Utility, Bourne-Again Shell (bash)

Tags: rsync linux bash checksum corruption mdadm raid

I've used rsync to copy around 300GB of data in the form of small text files, large binary executables/videos, word documents etc. Source and target are both on different md raid1 devices on the same machine. The rsync command was:

# rsync -aHxv /mnt/src/ /mnt/dst/

All seemed to work well, but then I did a quick

# diff -r /mnt/src /mnt/dst

Which showed some files that differed. Around 8-10 files, a far as I can remember. A cmp -l on such a file would always return a single byte difference, and it was always the value in the old file incremented by one:

# cmp -l /mnt/src/file.exe /mnt/dst/file.exe
  82778  24  25

This seems to be quite systematic. I still have the source files, so now I did a

# rsync -caHxv /mnt/src/ /mnt/dst/

and this effectively re-transfers all the corrupted files, this time without corruption.

Rsync is supposed to check the checksum of transfered files, so how is this corruption even possible?

Is there something I have to take care of when transferring large volumes of data locally with rsync? How can I be sure that this doesn't happen again (without using -c, because this takes ages)?
[+][-]09/18/09 12:09 PM, ID: 25368966Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: rSync Backup Utility, Bourne-Again Shell (bash)
Tags: rsync linux bash checksum corruption mdadm raid
Sign Up Now!
Solution Provided By: nuke3dd
Participating Experts: 1
Solution Grade: A
 
[+][-]09/17/09 12:27 PM, ID: 25359965Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09/17/09 12:28 PM, ID: 25359973Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/17/09 01:45 PM, ID: 25360876Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/17/09 01:50 PM, ID: 25360931Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/17/09 02:00 PM, ID: 25361037Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/17/09 02:10 PM, ID: 25361130Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/17/09 02:12 PM, ID: 25361149Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/17/09 02:34 PM, ID: 25361321Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/18/09 01:15 AM, ID: 25363707Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/18/09 12:14 PM, ID: 25369022Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/18/09 12:15 PM, ID: 25369024Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625