Bug 726366 - [abrt] rdiff-backup-1.2.8-6.fc15: log.py:129:log_to_file:IOError: [Errno 30] Read-only file system
Summary: [abrt] rdiff-backup-1.2.8-6.fc15: log.py:129:log_to_file:IOError: [Errno 30] ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rdiff-backup
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:27096347971ae0604d4d3e024f3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-28 12:06 UTC by Fabien Archambault
Modified: 2011-07-29 07:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-29 07:41:47 UTC
Type: ---


Attachments (Terms of Use)

Description Fabien Archambault 2011-07-28 12:06:50 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        /usr/bin/python /usr/bin/rdiff-backup /home/nanotimes /media/LINUX/nanotimes
comment:        Doing a backup
component:      rdiff-backup
executable:     /usr/bin/rdiff-backup
kernel:         2.6.38.8-35.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        rdiff-backup-1.2.8-6.fc15
reason:         log.py:129:log_to_file:IOError: [Errno 30] Read-only file system
time:           Thu Jul 28 14:05:31 2011
uid:            500
username:       nanotimes

backtrace:
:log.py:129:log_to_file:IOError: [Errno 30] Read-only file system
:
: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 304, in error_check_Main
:    try: Main(arglist)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 324, in Main
:    take_action(rps)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 280, in take_action
:    elif action == "backup": Backup(rps[0], rps[1])
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 343, in Backup
:    backup.Mirror_and_increment(rpin, rpout, incdir)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
:    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 241, in patch_and_increment
:    for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/rorpiter.py", line 177, in FillInIter
:    for rp in rpiter:
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 113, in get_diffs
:    if dest_sig.isreg(): attach_diff(diff_rorp, src_rp, dest_sig)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 95, in attach_diff
:    error_handler, Rdiff.get_delta_sigrp_hash, (dest_sig, src_rp))
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/robust.py", line 39, in check_common_error
:    if error_handler: return error_handler(exc, *args)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/robust.py", line 91, in error_handler
:    log.ErrorLog.write_if_open(error_type, rp, exc)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/log.py", line 255, in write_if_open
:    if cls.isopen(): cls.write(error_type, rp, exc)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/log.py", line 236, in write
:    Log(s, 2)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/log.py", line 120, in __call__
:    if verbosity <= self.verbosity: self.log_to_file(message)
:  File "/usr/lib64/python2.7/site-packages/rdiff_backup/log.py", line 129, in log_to_file
:    self.logfp.flush()
:IOError: [Errno 30] Read-only file system
:
:Local variables in innermost frame:
:message: 'ListError .mozilla/firefox/vp4gdepz.default/places.sqlite [Errno 5] Input/output error'
:self: <rdiff_backup.log.Logger instance at 0x1ab76c8>

Comment 1 Kevin Fenzi 2011-07-28 16:00:57 UTC
You seem to be trying to back up to a device which is read only. ;) 

'grep media /proc/mounts' returns what? 

does a 'touch /media/LINUX/nanotimes/foo' work?

Comment 2 Fabien Archambault 2011-07-29 07:41:47 UTC
Sorry not a bug as you suggested I tried and it was a problem linked to the USB connexion setting the hard drive in read-only.
I tried again and in fact it works for like 15 minutes then again it puts in read only. Changed to USB 3.0 ports and works until the end of the backup.

Thanks for helping me pointed that!


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