rsynced files "collecting" blocks?

Dipl.-Ing. C. Lechleitner christoph.lechleitner at ibcl.at
Wed Oct 15 07:34:21 EST 2003


Hello!

We are synching some server data (websites, logfiles, ...) with rsync via
ssh and are detecting a weird problem:

Certain files and directories, apparently those who are regulary rsynced over
the WAN, tend to use far too many blocks, e.g.:

stat from file on server:
File: `bilder.html'
Size: 2009            Blocks: 288        IO Block: 4096   regular file
[...]

The same file (a fresh copy) in normal state:
File: `bilder.html'
Size: 2039            Blocks: 8          IO Block: 4096   regular file

I am not entirely sure if it is a problem of rsync (2.5.6, linux i386 2.4.20+)
or perhaps of the file system (ext3, normal mode, with ACL support), but the
problem _exactly_ concerns to those files and directories that are synched via
WAN.

Synching happens nightly, in one direction (always the same), but sometimes we
abort (kill rsync) it for bandwidth reasons.

The problem does not concern other files including those that are regulary
synched via LAN.

Is this a known problem (did'nt find anything in the archive)?

The call is something like:
rsync /var/whatever foo.com:/var/whatever --timeout=180 --delete --force -g -l -o -p -v -S -t --compress --progress --rsh ssh

Thanks in advance, and apologies if it should turn out as a ext3 problem
after all ;->>

kr

Christoph Lechleitner

------------------------------------------------------------------------
 IBCL - IT Bureau Dipl.-Ing. C. Lechleitner
 Defreggerstr. 24, A-6020 Innsbruck, Austria, Europe
 http://www.ibcl.net/
 Tel.: +43 512 390717, Fax: +43 512 390787, Mobile: +43 699 12353479
------------------------------------------------------------------------



More information about the rsync mailing list