I need to manage a filesystem with a large number of files (hundreds of thousands).

This filesystem is rsynced periodically. The vast majority of files don't change often, but since there's so many, rsync takes a long time, because it has to stat all of them.

In an effort to reduce the time rsync takes, I've been taring big directories that aren't changed, but this leads to usability problems. Every time a user needs a file inside of the archives, they must open the archive and extract the file.

Is there a way to make rsync faster on such a scenario, with the change being transparent (or at least not annoying) to the non-technical user?


Have you tried playing around with the rsync options? The options -c, -W and --delay-updates could be helpful.

  • For information, I found that by using the -c (checksum) option, the transfer took longer to complete than it did without it. – Graham Nov 4 '14 at 13:27
  • Oh well, it was worth a try. – ph0t0nix Nov 4 '14 at 13:28

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.