<div dir="auto">Hi raf,<div dir="auto"><br></div><div dir="auto">Curious issue you have.  A few things:</div><div dir="auto"><br></div><div dir="auto">What distro(s) are you using?</div><div dir="auto"><br></div><div dir="auto">Same rsync version on both ends?</div><div dir="auto"><br></div><div dir="auto">Hash of files look correct before and after the rsync?</div><div dir="auto"><br></div><div dir="auto">Have you tried using inotify to monitor for changes at the fs level?  You should see a "read" on the sender and a "read" + "write" on the receiver.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 29, 2019, 11:25 PM raf via rsync <<a href="mailto:rsync@lists.samba.org">rsync@lists.samba.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks. I'll try that. But I agree that it'll be<br>
something else. It's unlikely that whole trace files<br>
are being overwritten, because there's locking in place<br>
to prevent that sort of thing, but it's more likely<br>
than anything else. I'll check that the locking is<br>
working properly.<br>
<br>
Although, when I last investigated it, it really did<br>
look as though, in a single run of this task, three<br>
files were copied for one directory but only two were<br>
listed. I need to verify that more thoroughly, perhaps<br>
with directory listings on both sides before and after<br>
each run.<br>
<br>
cheers,<br>
raf<br>
<br>
Kevin Korb via rsync wrote:<br>
<br>
> It does seem impossible.  I would suggest adding --itemize-changes (-v<br>
> isn't really all that useful without it anyway).  If entries are still<br>
> missing then I would suspect that either log files are missing (maybe<br>
> duplicate file names replacing the occasional log file?) or something<br>
> other than rsync is doing things in the same dir.<br>
> <br>
> On 10/29/19 9:00 PM, raf via rsync wrote:<br>
> > Hi,<br>
> > <br>
> > debian-9, rsync-3.1.2 (both ends)<br>
> > <br>
> > I have a task that rsyncs files from a list of<br>
> > candidate files (--files-from=). It's verbose (-v) and<br>
> > its stdout is captured to a file which is then sent to<br>
> > the receiving host. The captured verbose output is<br>
> > examined on the receiving host to know which files were<br>
> > actually copied so that notification emails can be sent<br>
> > to various people.<br>
> > <br>
> > The problem is that, sometimes, not all copied files<br>
> > are listed in the verbose output, and so some<br>
> > notification emails don't get sent out. At first, I<br>
> > thought there was something wrong with the notification<br>
> > emails not arriving, but the files in question, that<br>
> > had definitely been copied, did not appear in any of<br>
> > the captured verbose output files.<br>
> > <br>
> > This seems like an impossible bug but it really seems<br>
> > to be happening. Has anyone else encountered behaviour<br>
> > like this? I didn't have much luck searching the<br>
> > internet for it. It would probably be hard to notice<br>
> > if the verbose output wasn't being used for something<br>
> > like triggering notifications whose absence might be<br>
> > noticed.<br>
> > <br>
> > cheers,<br>
> > raf<br>
> <br>
> -- <br>
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,<br>
>       Kevin Korb                      Phone:    (407) 252-6853<br>
>       Systems Administrator           Internet:<br>
>       FutureQuest, Inc.               Kevin@FutureQuest.net  (work)<br>
>       Orlando, Florida                <a href="mailto:kmk@sanitarium.net" target="_blank" rel="noreferrer">kmk@sanitarium.net</a> (personal)<br>
>       Web page:                       <a href="https://sanitarium.net/" rel="noreferrer noreferrer" target="_blank">https://sanitarium.net/</a><br>
>       PGP public key available on web site.<br>
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,<br>
> <br>
<br>
<br>
<br>
<br>
> -- <br>
> Please use reply-all for most replies to avoid omitting the mailing list.<br>
> To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" rel="noreferrer noreferrer" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
> Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" rel="noreferrer noreferrer" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
<br>
<br>
-- <br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" rel="noreferrer noreferrer" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" rel="noreferrer noreferrer" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
</blockquote></div>