Multiple errors from rsync - later 'soft' error raised rather than earlier 'hard' error.
Bell, Robert (IM&T, Clayton)
Robert.Bell at csiro.au
Thu Jun 20 06:13:21 UTC 2019
I was about to post the below to the rsync mailing list, but wondered whether your code which captures rsync output may have allowed rsync to continue past what I think would normally be a fatal error?
P.S. Should I put the final backups of the old pearcey /home back into their correct slots - 5 backups were recycled, but nothing was added to them? The .Snapshots area is pointing to the old locations.
Here are the recycles that need to be reversed:
Recycling /backup/pearcey-user-dumps/home_intel.20190606.seq.1687.recycle to /backup/pearcey-user-dumps/home_intel.20190611.seq.1692
Recycling /backup/pearcey-user-dumps/home_intel.20190608.seq.1689.recycle to /backup/pearcey-user-dumps/home_intel.20190612.seq.1694
Recycling /backup/pearcey-user-dumps/home_intel.20190605.seq.1686.recycle to /backup/pearcey-user-dumps/home_intel.20190612.seq.1693
Recycling /backup/pearcey-user-dumps/home_intel.20190609.seq.1690.recycle to /backup/pearcey-user-dumps/home_intel.20190613.seq.1696
Recycling /backup/pearcey-user-dumps/home_intel.20190603.seq.1684.recycle to /backup/pearcey-user-dumps/home_intel.20190613.seq.1695
We recently encountered a case with rsync hitting what I regard as a 'hard' error (unable to change_dir to the source), but it did not immediately abort, but continued and went on to hit other errors (which I regard as soft) and returned the error code 23. Our backup suite continues after error 23, because it is common and usually not a problem.
Here is selected output.
rsync: change_dir "/home_intel" (in backups) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1637) [Receiver=3.1.1+csiro-sc.4]
rsync: read error: Connection reset by peer (104)
Should rsync have aborted after encountering error 2?
Dr Robert C. Bell
CSIRO Information Management and Technology
Mobile +61 428 108 333
Robert.Bell at csiro.au<mailto:Robert.Bell at csiro.au> | www.csiro.au
T +61 3 9545 2368 (Clayton)
Street: CSIRO IMT, Rivett Bldg 001 room RNW 2.12, Clayton Vic 3168, Australia
Office: w3w: http://w3w.co/depend.jumpy.faster
Postal: CSIRO IMT, Private Bag 10, Clayton South Vic 3169, Australia
Parcels: CSIRO IMT, Gate 3 Normanby Road, Clayton Vic 3168, Australia
The information contained in this email may be confidential or
privileged. Any unauthorised use or disclosure is prohibited. If you
have received this email in error, please delete it immediately and
notify the sender by return email. Thank you. To the extent permitted
by law, CSIRO does not represent, warrant and/or guarantee that the
integrity of this communication has been maintained or that the
communication is free of errors, virus, interception or interference.
Please consider the environment before printing this email.
More information about the rsync