[Bug 8682] Skip current transfer keyboard function

samba-bugs at samba.org samba-bugs at samba.org
Fri Mar 4 10:34:39 UTC 2022


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

--- Comment #6 from Joachim Wagner <jwagner at computing.dcu.ie> ---
The "echo > sourcefile" workaround seems to not trigger an error, at least not
straight away and at least on XFS, but instead speeds up the operation and
stops writing more data to the target file. Observation (both source and target
filesystems are local, 5.7 TB file at 68% at time of intervention):

* Before "echo > sourcefile", rsync -P reported about 200MB/s
* After "echo > sourcefile", rsync -P reports about 650MB/s and the target
file's mtime and size no longer change
* At 100%, rsync says "read errors mapping "redacted": No data available (61)
WARNING: redacted failed verification -- update discarded (will try again)."
and then syncs the 1-byte file created with `echo`.

Still grateful @martin for sharing the idea. I found this searching for a way
to inject an I/O error.

For the source file backup, `cp --reflink=always` is your friend.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the rsync mailing list