You are not logged in.

#1 2015-09-23 23:28:17

nstgc
Member
Registered: 2014-03-17
Posts: 393

rsync read errors mapping

I was running my weekly maintenance script, which includes a back up, and ran into an error with a file. I rsync, with "-aAXhi --delete --checksum --delay-updates --delete-delay --stats" and haven't had a problem before.

First off, everyday I run rsync with the same options as my weekly script sans "--checksum". Also everyday I make a btrfs snapshot and move old snapshots down the line. In my weekly script I make two backups, one from the current Arch installation subvolume, and another from a two day old snapshot.

The rsync from the active installation went fine, however the one that was two days old game me a "rsync read error mapping ... input/output error (5)", where the file mentioned was "var/log/cups/access_log.2". I checked the permissions of all files first and they were all "-rw-r--r--" as given by "ls -l". I then tried to read from the files, in case of some kind of data corruption issue. The data corruption shouldn't be source side since the rsync is preceded by a scrub which didn't raise any flags. In anycase, the files read just fine and appear to be the same.

I found this thread on superusers.com, but aside from what I've done, it didn't get anything out of it.

[edit] Note that I am rsyncing to an ext4 partition on an HDD not used for the system volume. Also, I don't rsync daily to the two day old back up. That's a weekly thing.

Last edited by nstgc (2015-09-23 23:30:52)

Offline

Board footer

Powered by FluxBB