I'm wondering why, when I use rsnapshot to rsync /usr/lib/locate from one machine to another, the output given by 'du' is different? The machines are identical, the OS on both is CentOS 5.3.
Here is the output on the source machine:
# du -csh /usr/lib/locale
129M /usr/lib/locale
129M total
And the target machine (where it has been rsynced to):
# du -csh usr/lib/locale/
319M usr/lib/locale/
319M total
The partitions are even the same on the machines, both /var and both the same size, about 409 gigs.
One thing that is possible is that rsnapshot is resolving the symbolic links in the directory on the source into real links on the target machine. For example, on the source machine, looking for files that are not hard linked to anything:
# find /usr/lib/locale -links 1 | wc -l
1733
And then on the target machine:
# find usr/lib/locale/ -links 1 | wc -l
4597