rsync of a reflink from OCFS2

Ben RUBSON ben.rubson at gmail.com
Wed Mar 14 14:05:10 UTC 2018


On 14 Mar 2018, Lentes, Bernd via rsync wrote:

> ----- On Mar 14, 2018, at 2:19 PM, Ben RUBSON ben.rubson at gmail.com wrote:
>
>> On 14 Mar 2018, Lentes, Bernd via rsync wrote:
>>
>>> I would now expect a rsync from the snap would transfer just some megay
>>> bytes to the file from the day before.
>>> But it doesn't:
>>>
>>> ha-idg-1:/cluster/guests/servers_alive # time rsync -av --stats
>>> sa.raw.snap /mnt/idg-2/SysAdmin_AG_Wurst/backup/cluster/test
>>
>> Hi Bernd,
>>
>> When doing rsync locally, diff alg is not involved, this is why file is
>> fully transferred.
>>
>> Ben
>
> Hi Ben,
>
> also when the target is a cifs share, it's still considered as local ?

Yes as it's mounted locally.

> Is there something i can do to get the diff algorithm used ?

Perhaps --no-whole-file would do the trick ?

> Copying via ssh to the cifs server is unfortunately not possible.
>
>
> Bernd



More information about the rsync mailing list