LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-19-2011, 01:03 AM   #1
mumblemike
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, 01:19 AM   #2
mumblemike
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
Quote:
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.
Code:
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.
Code:
rdiff-backup --force //DataDrive/Path /BackupDrive/Path
Next step will be to get a new backup drive.
 
  


Reply

Tags
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


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


All times are GMT -5. The time now is 12:08 AM.

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