Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


LinkBack Search this Thread
Old 06-19-2011, 12:03 AM   #1
LQ Newbie
Registered: May 2009
Location: New York State, USA
Distribution: Ubuntu and Debian
Posts: 4

Rep: Reputation: 0
Post 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
Old 06-19-2011, 12:19 AM   #2
LQ Newbie
Registered: May 2009
Location: New York State, USA
Distribution: Ubuntu and Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Post 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
e2fsck -c device
e2fsk said there were inodes with multiply-claimed blocks
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.
Clone multiply-claimed blocks<y>? no
Delete file<y>? yes
Finally, reran rdiff-backup, but added the --force switch, which caused it to replace the deleted backup files with copies from the original Data Drive.
rdiff-backup --force //DataDrive/Path /BackupDrive/Path
Next step will be to get a new backup drive.


backup, error

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
errno 5) input/output error c j alex Linux - Newbie 7 01-14-2013 04:33 AM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 03:39 AM
errno 5) input/output error c j alex Linux - Newbie 1 05-03-2008 02:29 AM
Advice sought RE Input/output errors during backup attempt conn-fused Linux - Software 2 12-17-2005 01:25 AM
Advice sought RE input/output errors during backup attempt conn-fused Linux - Hardware 0 12-16-2005 05:42 AM

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration