[CentOS] [rsync -avz] total size/disk usage difference betweensource and destination

Mon Nov 3 09:45:13 UTC 2008
Plant, Dean <dean.plant at roke.co.uk>

Sven wrote:
> Hi folks
> 
> We migrated storage from local disk to SAN with:
> 
> # rsync -avz /mnt/lvol00045/* /lvol00045
> 
> Why there is a difference in size? How to explain this? Do we have
> inconsistency? What we did wrong?
> 
> [...]
> /dev/mapper/vg01-lvol00045_old
>                       10321208   3930336   6286016  39% /mnt/lvol00045
> [...]
> /dev/mapper/vg01-lvol00045
>                       10321208   3163852   6633068  33% /lvol00045

What does the output of df -i show? It should show the same amount of
inodes used regardless of block size.

Dean