The two rsync calls had a delay of 180 seconds between them but when the issue was seen the debug prints from the second rsync call were interspersed with the debug logs of the first rsync call. Our system startup scripts start just one instance of the script which has the two rsync calls. Also when the issue was later detected there was one instance of that script running. <div>

<br></div><div>Have you come across errors with bash scripts where they run the command in the background even when not specified to. If so then that seems to be an explanation as to what took place.</div><div><br></div>
<div>
We did not see any SD card errors or file system errors in general.</div><div><br></div><div>Regards,</div><div>Alistair</div><div><br></div><div><br><div class="gmail_quote">On Sat, Apr 23, 2011 at 9:06 PM, Wayne Davison <span dir="ltr"><<a href="mailto:wayned@samba.org">wayned@samba.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im">On Wed, Apr 20, 2011 at 12:44 PM, Alistair Dsouza <span dir="ltr"><<a href="mailto:alistaird@gmail.com" target="_blank">alistaird@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I came across an issue where it seems that the rsync call returned with a success but the files that it pulled are not moved immediately to its final destination.</div></blockquote><div><br></div></div><div>I think it more likely that you had 2 instances of the script running at the same time.  You could use something like "shlock" to prevent that from happening.</div>


<div><br></div></div><font color="#888888">..wayne..<br>
</font></blockquote></div><br></div>