rdiff-backup [Errno 5] Input/output error
While running a simple backup using a basic rdiff-backup command such as:
# rdiff-backup /DataDrive /BackupDrive
Got a pair of message lines in the error log for a few "problem" files. Each problem file had two lines similar to the following:
ListError Directory/file01.jpg [Errno 5] Input/output error
UpdateError Directory/file01.jpg rdiff-backup.tmp.1234 [Errno 5] Input/output error
badblocks caused rdiff-backup error
I was able to solve the problem as follows:
Ran fsck (e2fsck) on the Backup Drive and it showed nothing, but using Disk Utility, SMART Data revealed errors with the Sector Count.
Then ran e2fsck with the -c switch to check and map badblocks
for each file with a bad blocks inode, it paused and asked the following two questions which I answered no and then yes, to allow it to delete the "problem" files on the backup drive.
|All times are GMT -5. The time now is 03:31 AM.|