Bug 1134056 - [abrt] rdiff-backup: log.py:136:log_to_term:IOError: [Errno 5] Input/output error
Summary: [abrt] rdiff-backup: log.py:136:log_to_term:IOError: [Errno 5] Input/output e...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rdiff-backup
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:2f22e9ef3a9c75b3ecaf62db8ef...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-26 17:49 UTC by pdimitrov
Modified: 2014-09-04 15:53 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-04 15:53:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (865 bytes, text/plain)
2014-08-26 17:50 UTC, pdimitrov
no flags Details
File: environ (2.64 KB, text/plain)
2014-08-26 17:50 UTC, pdimitrov
no flags Details

Description pdimitrov 2014-08-26 17:49:57 UTC
Version-Release number of selected component:
rdiff-backup-1.2.8-11.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/rdiff-backup -v5 --force --print-statistics /g8/3.videos 192.168.0.254:://g8/3.videos
executable:     /usr/bin/rdiff-backup
kernel:         3.15.10-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
log.py:136:log_to_term:IOError: [Errno 5] Input/output error

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 310, in error_check_Main
    Log.FatalError(errmsg)
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/log.py", line 160, in FatalError
    self.log_to_term(prefix_string + message, 1)
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/log.py", line 136, in log_to_term
    termfp.write(self.format(message, self.term_verbosity))
IOError: [Errno 5] Input/output error

Local variables in innermost frame:
termfp: <open file '<stderr>', mode 'w' at 0x7fc0581601e0>
message: 'Fatal Error: Killed with signal 1'
verbosity: 1
self: <rdiff_backup.log.Logger instance at 0x7fc04fa09cf8>

Potential duplicate: bug 1005543

Comment 1 pdimitrov 2014-08-26 17:50:01 UTC
Created attachment 931069 [details]
File: backtrace

Comment 2 pdimitrov 2014-08-26 17:50:02 UTC
Created attachment 931070 [details]
File: environ

Comment 3 Kevin Fenzi 2014-08-26 18:01:26 UTC
Looks like it's unable to open it's main log for writing. 

Can you provide: 

df /g8/3.videos(on backup host)
df -i /g8/3.videos (on backup host)
ls -laZ /g8/3.videos/rdiff-backup-data/backup.log
findmnt /g8/3.videos

Comment 4 pdimitrov 2014-08-26 20:27:37 UTC
Sure, although I am not sure if they are valid any longer.

> df /g8/3.videos(on backup host)

Filesystem            1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_ivy-g8 850074204 621697824 185195120  78% /g8

> df -i /g8/3.videos (on backup host)

Filesystem              Inodes  IUsed    IFree IUse% Mounted on
/dev/mapper/vg_ivy-g8 53977088 192049 53785039    1% /g8

> ls -laZ /g8/3.videos/rdiff-backup-data/backup.log

-rw------- 1 pevogam pevogam ? 211798 Aug 26 23:24 /g8/3.videos/rdiff-backup-data/backup.log

> findmnt /g8/3.videos

<empty>

Comment 5 Kevin Fenzi 2014-08-26 23:24:10 UTC
Any errors in dmesg on that server? 

What filesystem type is /g8? 

Does the problem persist if you re-run the backup?

Comment 6 pdimitrov 2014-08-27 10:54:44 UTC
> Any errors in dmesg on that server? 

No, not really, although:

[pevogam@seven ~]$ sudo cat /var/log/messages | grep rdiff
Aug 26 16:00:18 seven python: detected unhandled Python exception in '/usr/bin/rdiff-backup'
Aug 26 16:00:18 seven python: detected unhandled Python exception in '/usr/bin/rdiff-backup'

> What filesystem type is /g8? 

ext4 on top of LVM

> Does the problem persist if you re-run the backup?

I had troubles with a file where it stopped but removing it from the backup and then adding it back (second backup run) helped.

Comment 7 Kevin Fenzi 2014-08-27 22:18:01 UTC
ok, my only other guess here is that it could have been a transitory network failure. Are the two machines on the same local network?

Comment 8 pdimitrov 2014-08-28 11:14:20 UTC
Yes they are, although even a network failure is not supposed to lead to a crash but I guess that's all we've got for this information. There is nothing else which is exotic configuration that I can think of.

Comment 9 Kevin Fenzi 2014-08-31 14:52:04 UTC
I see one mention of this error when it was a drive issue... remapping bad blocks was confusing rdiff-backup: 

http://www.linuxquestions.org/questions/linux-software-2/rdiff-backup-[errno-5]-input-output-error-887133/

might be worth trying a fsck.ext4 -c on the drive if you are able and see if it finds anything?

Comment 10 pdimitrov 2014-09-04 12:25:51 UTC
Unfortunately I don't have the previous setup and it all works well now. The drives are completely new, so a drive issue might be an overkill. I guess we might wait for it to reoccur or close it.

Comment 11 Kevin Fenzi 2014-09-04 15:53:46 UTC
ok. Please let me know if you see it again... thanks.


Note You need to log in before you can comment on or make changes to this bug.