[Bug 8177] Problems with big sparsed files

samba-bugs at samba.org samba-bugs at samba.org
Sun Mar 11 01:08:24 MST 2012


https://bugzilla.samba.org/show_bug.cgi?id=8177

--- Comment #13 from Remco Hosman <remco at hosman.xs4all.nl> 2012-03-11 08:08:22 UTC ---
The reason for me to use rsync is the following:
I want to backup a remote server over the internet. so bandwidth usage is an
issue. The backup target is a btrfs system (again, not the cause of the
problem, happens with ext3 on the target too). I make a reflink copy of
yesterdays file and do rsync --inplace to backup. uses very little bandwidth
and diskspace. The time it takes for the rsync to take place is not an issue.
The snapshot is made and does not change over time until delete it after rsync
is done.

i did some more testing and found out the problem is not related to the file
being sparse or big. when i have a non-sparse 16MB file, the problem persists.

now im not an expert in interpreting strace output, but i dont see much
difference. but does strace display things differently depending on the return
value of a call?

3978200 20:24:54.964491 read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 262144) = 262144
7672734 20:24:08.847043 read(3, 0x782f0009, 262143) = -1 EINVAL (Invalid
argument)

what is that 0x782f0009 ? the address rsync wants read to put the data?

Remco

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list