Rsync some files vanished
Hi Alex, What's the problem being caused by this? I believe the exit code and message are warnings, the copying doesn't stop when the missing files are encountered.
If you are wrapping 'rsync' in a script, you just need to treat exit code 24 as success. Alex, I don't know exactly what you're asking, but it looks to me like the error is caused by a file that rsync meant to be sent since the rsync began has been deleted before it could be sent. Meaning, that a file has been deleted that needed to be sent - since the rsync has begun. It planned to send the file, but it was taken away probably by the application before it was sent over. How to handle? That depends on whether or not your hot-site needs that file to facilitate a disaster-recovery solution.
The maximum size is MB. Also the bundling process will try to include all softlinks if any to other partitions of larger size greater than 10GB. This would try creating an image file larger than 10GB size and hence throw bundle errors. So check for any softlinks before bundling. This one is quite an interesting error as it is a warning that some files are being deleted while the bundling process is happening.
Running Bundle Volume from within a running installation may be problematic because partially written files may get copied into the AMI. Connect and share knowledge within a single location that is structured and easy to search. In Openshift 3. This seems to be a known issue with the underlying linux rsync utility and has a workaround. However, because the rsync utility is called by 'oc' in my case, I cannot figure out how to deal with this issue. Like rsync , oc rsync seems to have a --exclude option that is also described in your workaround.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. SWdream SWdream 2 2 silver badges 3 3 bronze badges. This seems definitely better than checking for a specific return code and overriding it to 0.
Except in rare cases, files vanishing during a live backup are perfectly normal a lot of applications create short-lived temporary files. This is especially true in the case of a mail server, where files containing e-mail messages are constantly moved from one directory to another, so IMHO this answer is more adequate than the one accepted by OP.
Unfortunately this option doesn't exist in all versions of rynsc. In particular, 3. Gilles 'SO- stop being evil' k gold badges silver badges bronze badges. If you want to be more explicit then yes you can specify it as you've written.
If it is causing problem because of exit value is non-zero, this can be solved by the following wrapper script source :! Thanks for linking to that Bug report. For everyone considering using the wrapper script. Any bugs should be reported to that script. Or simply with modern bash :! Gilles Quenot Gilles Quenot Wouldn't that suppress warning of all kinds of files that contain the string vanished in it also?
Sure, post edited accordingly — Gilles Quenot. Francis Francis 3 3 bronze badges. Drive failures would not selectively only happen in the tmp directories.
0コメント