Using --inplace and --sparse to a NetApp NAS through NFS

Francis.Montagnac at Francis.Montagnac at
Sat Nov 21 17:09:42 UTC 2020


I noticed, when using --inplace and --sparse to update a file of 36 G
located in an NFS mounted directory from a NetApp NAS through NFS, that
rsync is rewriting most of it: 27 G, while rsync (--stats) indicates a
literal data of only 262,144 bytes.

This do not happens with --inplace without --sparse: only ~204 K are
written, according to the size of a snapshot made before updating with

Is it a known issue when combining --inplace and --sparse or is it due to
the file contents or NFS ?


I'm fine to do the initial copy with '--inplace --sparse' and the
subsequent incremental ones with only --inplace. The NAS will anyway
deduplicate zero-blocks after the copies.


  OS: Fedora-32 running kernel-5.7.8-200.fc32.x86_64


More information about the rsync mailing list