What does error message mean?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

What does error message mean?

Eric Beversluis-2
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 [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: What does error message mean?

Eric Beversluis-2
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 [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: What does error message mean?

Marcus Schopen
It says "Read-only file system". Is your fs writeable?



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: What does error message mean?

Eric Beversluis-2
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?
>
>
>

--
Eric Beversluis
Short fiction at www.ericbeversluis.com <http://www.ericbeversluis.com>
_______________________________________________
rdiff-backup-users mailing list at [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: What does error message mean?

Nicolas Jungers-2
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 [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: What does error message mean?

Dominic Raferd-3
In reply to this post by Eric Beversluis-2
On 30 May 2017 at 01:06, Eric Beversluis <[hidden email]>
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 [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki