[Bug 13317] rsync returns success when target filesystem is full
samba-bugs at samba.org
samba-bugs at samba.org
Mon Mar 5 23:57:33 UTC 2018
https://bugzilla.samba.org/show_bug.cgi?id=13317
--- Comment #7 from Dave Gordon <dg32768 at zoho.eu> ---
(In reply to Rui DeSousa from comment #5)
That was a run where the rename failed. Do you know whether the temporary file
was truncated or corrupted in that scenario?
[HINT: one can stop the rsync with a signal, find the temporary file, create a
hardlink to it, and then let rsync resume; in the event of an error, the
temporary won't disappear because of the hardlink, and then one can examine it
to see what state it was in when rsync quit].
Another thing to try would be adding the options --itemize-changes and
--debug=deltasum3,recv2,io2
BTW I checked whether the return code from close() is verified, and, while
there are many close() calls whose result is ignored, the specific one at the
end of a file transfer *is* checked. So if ZFS did return a delayed error at
that point, it would be detected and cause the transfer to fail.
.Dave.
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the rsync
mailing list