Destination file is larger than source file

Matthias Schniedermeyer ms at citd.de
Wed Aug 29 09:10:39 MDT 2012


On 29.08.2012 10:06, Dariusz Dolecki wrote:
> We are using the standard -av switch. And both filesystems are the same -
> UFS.
> 
> 
>  /opt/rsync/bin/rsync -av  -e "ssh -l root" --delete
> --exclude-from=/var/scripts/exclude
> --password-file=/var/scripts/transfer.passwd <username>@<source
> host>::<source dir>/ /<destination dir>
> 
> 
> Source system
> 
> <source host>:<source dir># du -sh *
>    1K   nohup.out
>   20G   file1.dbf
>  3.9G   file2.dbf
>  7.6G   file3.dbf
>    1K   x1
>    1K   x2
> 
> Destination system
> 
> bash-3.00# du -sh *
>    1K   nohup.out
>   20G   file1.dbf
>   16G   file2.dbf
>  7.6G   file3.dbf
>    1K   x1
>    1K   x2

First guess: It's a sparse file so '--sparse' should be added to the 
commandline.





Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.



More information about the rsync mailing list