Machin kaput

Posted by André Naumann • 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 :-)
Defined tags for this entry: , ,

0 Comments

Display comments as (Linear | Threaded)
  1. No comments

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA 1CAPTCHA 2CAPTCHA 3CAPTCHA 4CAPTCHA 5


Pavatar/Gravatar/Favatar/MyBlogLog/Pavatar author images supported.


A Simple Sidebar