Hi,

I've got a large file - 20gigs - which is stored in a zfs dataset. I 
snapshotted the dataset and rsynced an newer, updated version of the same file 
- slightly larger, but with mostly unchanged data.

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.

I found this a bit puzzling, because I was sort of expecting that the increase 
in size of dataset+snapshot should only be the size of the changed blocks. I 
guess that ZFS has no way of knowing what the smaller deltas are, that rsync 
use to re/construct the updated file, and will write every part to disk.

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?

comments/insight would be appreciated!
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to