Verifying Integrity of Data

Always run:

cd /filesystem; \
find . -type f -exec md5sum {} \; >& /filesystem-md5.log

and then

cd /filesystem-new; \
md5sum -c /filesystem-md5.log

before and after copying a large amount of data.

You'll be surprised how much random data corruption you experience in the real world.

When you find a corrupt file, cmp -l badfile goodfile to attempt to understand the nature of the corruption.

This is why I beg for end-to-end integrity checking in all cases. Unfortunately filesystem and OS vendors do not take this seriously.