Welcome! » Log In » Create A New Profile

What does error message mean?

Posted by Eric Beversluis 
Eric Beversluis
What does error message mean?
May 29, 2017 03:00PM
Can someone interpret this for me and tell me what to do? Running
rdiff-backup on Fedora 24. It always worked fine for me till I upgraded.
Thanks.


IOError while trying to log exception!
Exception '[Errno 30] Read-only file system' raised of class '<type
'exceptions.IOError'>':
File "/usr/lib64/python2.7/site-packages/rdiff_backup/robust.py",
line 32, in check_common_error
try: return function(*args)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
line 44, in Increment
else: incrp = makesnapshot(mirror, incpref)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
line 73, in makesnapshot
else: rpath.copy_with_attribs(mirror, snapshotrp, compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
243, in copy_with_attribs
copy(rpin, rpout, compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
105, in copy
if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
133, in copy_reg_file
return rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
1195, in write_from_fileobj
copyfileobj(fp, outfp)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
64, in copyfileobj
outputfp.write(inbuf)
File "/usr/lib64/python2.7/gzip.py", line 241, in write
self.fileobj.write(self.compress.compress(data))

Exception '[Errno 30] Read-only file system' raised of class '<type
'exceptions.IOError'>':
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 243, in patch_and_increment
ITR(diff.index, diff)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rorpiter.py",
line 281, in __call__
last_branch.fast_process(*args)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py",
line 698, in fast_process
increment.Increment, (tf, mirror_rp, inc_prefix))
File "/usr/lib64/python2.7/site-packages/rdiff_backup/robust.py",
line 32, in check_common_error
try: return function(*args)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
line 44, in Increment
else: incrp = makesnapshot(mirror, incpref)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
line 73, in makesnapshot
else: rpath.copy_with_attribs(mirror, snapshotrp, compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
243, in copy_with_attribs
copy(rpin, rpout, compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
105, in copy
if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
133, in copy_reg_file
return rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
1195, in write_from_fileobj
copyfileobj(fp, outfp)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
64, in copyfileobj
outputfp.write(inbuf)
File "/usr/lib64/python2.7/gzip.py", line 241, in write
self.fileobj.write(self.compress.compress(data))

Traceback (most recent call last):
File "/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 243, in patch_and_increment
ITR(diff.index, diff)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rorpiter.py",
line 281, in __call__
last_branch.fast_process(*args)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py",
line 698, in fast_process
increment.Increment, (tf, mirror_rp, inc_prefix))
File "/usr/lib64/python2.7/site-packages/rdiff_backup/robust.py",
line 32, in check_common_error
try: return function(*args)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
line 44, in Increment
else: incrp = makesnapshot(mirror, incpref)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
line 73, in makesnapshot
else: rpath.copy_with_attribs(mirror, snapshotrp, compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
243, in copy_with_attribs
copy(rpin, rpout, compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
105, in copy
if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
133, in copy_reg_file
return rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
1195, in write_from_fileobj
copyfileobj(fp, outfp)
File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line
64, in copyfileobj
outputfp.write(inbuf)
File "/usr/lib64/python2.7/gzip.py", line 241, in write
self.fileobj.write(self.compress.compress(data))
IOError: [Errno 30] Read-only file system


--
Eric Beversluis
Short fiction at www.ericbeversluis.com http://www.ericbeversluis.com
_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
This message was imported via the External PhorumMail Module
Eric Beversluis
Re: What does error message mean?
May 29, 2017 04:00PM
PS: I ran 'sudo dnf upgrade rdiff-backup' and it told me "Nothing to do."


On 05/29/2017 05:51 PM, Eric Beversluis wrote:
> Can someone interpret this for me and tell me what to do? Running
> rdiff-backup on Fedora 24. It always worked fine for me till I
> upgraded. Thanks.
>
>
> IOError while trying to log exception!
> Exception '[Errno 30] Read-only file system' raised of class '<type
> 'exceptions.IOError'>':
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/robust.py",
> line 32, in check_common_error
> try: return function(*args)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
> line 44, in Increment
> else: incrp = makesnapshot(mirror, incpref)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
> line 73, in makesnapshot
> else: rpath.copy_with_attribs(mirror, snapshotrp, compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 243, in copy_with_attribs
> copy(rpin, rpout, compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 105, in copy
> if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 133, in copy_reg_file
> return rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 1195, in write_from_fileobj
> copyfileobj(fp, outfp)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 64, in copyfileobj
> outputfp.write(inbuf)
> File "/usr/lib64/python2.7/gzip.py", line 241, in write
> self.fileobj.write(self.compress.compress(data))
>
> Exception '[Errno 30] Read-only file system' raised of class '<type
> 'exceptions.IOError'>':
> 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 243, in patch_and_increment
> ITR(diff.index, diff)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rorpiter.py",
> line 281, in __call__
> last_branch.fast_process(*args)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py",
> line 698, in fast_process
> increment.Increment, (tf, mirror_rp, inc_prefix))
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/robust.py",
> line 32, in check_common_error
> try: return function(*args)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
> line 44, in Increment
> else: incrp = makesnapshot(mirror, incpref)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
> line 73, in makesnapshot
> else: rpath.copy_with_attribs(mirror, snapshotrp, compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 243, in copy_with_attribs
> copy(rpin, rpout, compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 105, in copy
> if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 133, in copy_reg_file
> return rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 1195, in write_from_fileobj
> copyfileobj(fp, outfp)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 64, in copyfileobj
> outputfp.write(inbuf)
> File "/usr/lib64/python2.7/gzip.py", line 241, in write
> self.fileobj.write(self.compress.compress(data))
>
> Traceback (most recent call last):
> File "/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 243, in patch_and_increment
> ITR(diff.index, diff)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rorpiter.py",
> line 281, in __call__
> last_branch.fast_process(*args)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py",
> line 698, in fast_process
> increment.Increment, (tf, mirror_rp, inc_prefix))
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/robust.py",
> line 32, in check_common_error
> try: return function(*args)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
> line 44, in Increment
> else: incrp = makesnapshot(mirror, incpref)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/increment.py",
> line 73, in makesnapshot
> else: rpath.copy_with_attribs(mirror, snapshotrp, compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 243, in copy_with_attribs
> copy(rpin, rpout, compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 105, in copy
> if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 133, in copy_reg_file
> return rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 1195, in write_from_fileobj
> copyfileobj(fp, outfp)
> File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py",
> line 64, in copyfileobj
> outputfp.write(inbuf)
> File "/usr/lib64/python2.7/gzip.py", line 241, in write
> self.fileobj.write(self.compress.compress(data))
> IOError: [Errno 30] Read-only file system
>
>

--
Eric Beversluis
Short fiction at www.ericbeversluis.com http://www.ericbeversluis.com
_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
This message was imported via the External PhorumMail Module
Nicolas Jungers
Re: What does error message mean?
May 29, 2017 09:40PM
On 30/05/17 02:06, Eric Beversluis wrote:
> Which fs? I'm using the same external HDD to receive the backup that
> always worked in the past (most recently just before I updated
> Fedora). Why would that have changed? I always do my backup as root,
> so the command I ran was 'sudo rdiff-backup --exclude . . .'.
>
> It doesn't do any writing to my main HDD, does it? In any case how
> would that become unwriteable? I've been working and saving stuff to
> it all along since the upgrade.
AFAIK it does write on /tmp for some operations

N.


>
>
> On 05/29/2017 07:06 PM, Marcus Schopen wrote:
>> It says "Read-only file system". Is your fs writeable?
>>
>>
>>
>


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
This message was imported via the External PhorumMail Module
Dominic Raferd
Re: What does error message mean?
May 29, 2017 11:01PM
On 30 May 2017 at 01:06, Eric Beversluis <ebever@researchintegration.org>
wrote:

> Which fs? I'm using the same external HDD to receive the backup that
> always worked in the past (most recently just before I updated Fedora). Why
> would that have changed? I always do my backup as root, so the command I
> ran was 'sudo rdiff-backup --exclude . . .'.
>
> It doesn't do any writing to my main HDD, does it? In any case how would
> that become unwriteable? I've been working and saving stuff to it all along
> since the upgrade.
>
>
> On 05/29/2017 07:06 PM, Marcus Schopen wrote:
>
>> It says "Read-only file system". Is your fs writeable?
>>
>
​Have a look at this thread from this mailing list in 2010 - might help:
https://lists.nongnu.org/archive/html/rdiff-backup-users/2010-06/msg00023.html

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
This message was imported via the External PhorumMail Module
Sorry, only registered users may post in this forum.

Click here to login