Posted by André Naumann in
Friday, June 6. 2008
Consider this:
You're making a copy of all files within a filesystem to a brand new disk with rsync.
In a second run, rsync doesn't report any differences between the original filesystem and
its copy.
But the filesystems differ in size and number of files.
After comparing numerous lists of files in both filesystems(about 500k files in each),
we found the reason for the difference and it was, as always, pretty obvious:
For some files, there were two directory entries, pointing to the same inode.
I just checked for source and destination of each and every filename, but not for the
number of identical source files I needed to copy
But the volume group containing these filesystems has a few more problems, that's
why I had to start the whole copy job in the first place. So rsync was right,
netbackup reported two files on tape
