Rsync over NFS mount sending whole files

Anban Mestry anbanm at gmail.com
Thu Oct 27 17:27:09 GMT 2005


Hey all,

I'm not sure if anyone has experienced this, and I have searched for
it online, with no conclusive, err.. conclusions.

Basically, when rsyncing two \test1(local) and \mnt\test2\ (NFS mount)
it seems that when using rsync with --no-whole-file entire files
(instead of just updated blocks) are sent through.

I am using the following command

rsync -avtz --no-whole-file \test1\ \mnt\test2\

For example, if say a particular file was 30KB, IPTRAF reports just
over 31KB transferred while rsync itself reports just a few bytes
(i.e. 200 or so).

I am thinking that either NFS is to blame, or that rsync is trying to
rebuild the file on the other side and requires additional reads and
commands to do this. --in-place doesn't seem to alleviate the problem
much either.


Any help would be appreciated.

Thanks


More information about the rsync mailing list