"Knighten, Daniel" <DanielK < at > audioprecision.com>
wrote the following on Sat, 20 Mar 2004 12:36:03 -0800
Sorry for this reply, which at best may help someone else with the
same problem.
I have been using rdiff-backup to backup a bunch of Linux servers
for quite some time now. I had been running version 0.12.3 on
variety of machines running Slackware 8.1, 9.0, and 9.1. However,
it stopped working on my main fileserver about a week ago. To try
and better characterize the problem I setup two machines with
Slackware 9.1, kernel 2.6.4, librdiff 0.9.6, Python 2.3.1, and
rdiff-backup 0.12.6 and 0.13.4. The on-disk filesystems are
reiserfs. Depressingly enough neither 0.12.6 or 0.13.4 worked
between these two computers.
...
0.12.6
# rdiff-backup --force --print-statistics --exclude-other-filesystems
XXX.XXX.XXX.XXX:/ /home/wrkspace/
return self.data['devloc']
KeyError: 'devloc'
There seems to be some problem with the --exclude-other-filesystems
option. I couldn't replicate it on my side, and looking at the code
nothing occurs to me.
0.12.6
# rdiff-backup --force --print-statistics XXX.XXX.XXX.XXX::/ /home/wrkspace/
in touch
self.conn.open(self.path, "w").close()
IOError: [Errno 5] Input/output error:
'/home/wrkspace/boot/rdiff-backup.tmp.1'
For some reason rdiff-backup cannot write to the
'/home/wrkspace/boot/rdiff-backup.tmp.1' file (it's getting a EIO
error). This is considered fatal because rdiff-backup assumes the
destination is writable (such errors are only tolerated on the source
side). I don't know what could be causing the EIO.
0.13.4
# rdiff-backup --force --print-statistics --exclude-other-filesystems
XXX.XXX.XXX.XXX::/ /home/wrkspace/
in fsync_local
os.fsync(fd)
AttributeError: 'module' object has no attribute 'fsync'
Some early builds of python 2.3.x had no os.fsync. I thought it was
fixed by 2.3.1, but maybe yours wasn't. To check if you have it:
laptop:~ $ python
Python 2.3.3 (#1, May 7 2004, 10:31:40)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import os
os.fsync
<built-in function fsync>
--
Ben Escoto
