On Sat, 17 Apr 2010, G. Ander wrote:

According to how rsync works, the actual sent data should be much less than the size of the file(s), however, I noticed that the used space of the dataset+snapshot was the combined size of the older and newer file.

The increase of space consumed is because rsync copied to a new temporary file in order to assure that there is no corruption.

But do you think it would be possible to create a version of rsync that worked more closely with ZFS in such a way that only the changes could be written to disk?

Use these rsync options to achieve the desired behavior:

  --inplace --no-whole-file

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to