I have been using rdiff-backup on an external HDD. I'm now trying to make a new backup on a different external HDD. While the first backup continues to work well, this is what happens in the other case. I need help in understanding all of this output.
The external HDD is a WD Passport. I first re-partitioned it using gparted-live, and then when I had trouble, I went back and re-partitioned and re-formatted it again with the openSuse Partitioner. One ext3 partition and one FAT32 partition. In general the ext3 partition mounts properly. I can save to it and rdiff-backup starts saving, cranks for about a half hour, and then it fails. It actually seems to write about this much to the drive before it fails--sometimes it doesn't get this far. ============ linux-oe0e:/media/disk-2/rdiff/home # cd eric linux-oe0e:/media/disk-2/rdiff/home/eric # ls -al total 92 drwx------ 8 eric users 4096 Feb 13 16:21 . drwx------ 3 eric users 4096 Feb 13 15:53 .. drwx------ 2 eric users 4096 Feb 1 11:11 .AbiSuite -rw------- 1 eric users 30732 Feb 13 12:50 .ICEauthority drwxr-xr-x 3 eric users 4096 Apr 2 2009 .Nouveau Systems drwxr-xr-x 4 eric users 4096 Nov 26 19:00 .VirtualBox drwx------ 5 eric users 4096 Oct 21 08:45 .adobe -rw-r--r-- 1 eric users 24 Feb 13 2009 .aspell.en.prepl -rw-r--r-- 1 eric users 81 Feb 13 2009 .aspell.en.pws drwxr-xr-x 5 eric users 4096 Dec 30 12:35 .audacity-data -rw------- 1 eric users 14100 Feb 12 20:40 .bash_history -rw-r--r-- 1 eric users 1177 Jan 17 2009 .bashrc drwx------ 6 eric users 4096 Feb 13 16:21 .beagle ============ The terminal printout (below) doesn't seem to differ if I try to run rdiff-backup as root. All the files and directories are owned by me, as is everything in the external HDD partition. Hopefully someone can make sense of this. Again, it works fine on the other external HDD which is set up the same way with the same permissions and shows the same settings in mtab when it's mounted (ext3 rw,nosuid,nodev 0 0). ============ linux-oe0e:/media/disk # rdiff-backup --exclude /home/eric/.evolution/cache/tmp --include /home/eric --include /srv/www --include /var/lib/mysql --exclude '**' / /media/disk/rdiff /usr/lib64/python2.6/site-packages/rdiff_backup/hash.py:22: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha IOError while trying to log exception! Exception '[Errno 30] Read-only file system' raised of class '<type 'exceptions.IOError'>': File "/usr/lib64/python2.6/site-packages/rdiff_backup/robust.py", line 32, in check_common_error try: return function(*args) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 101, in copy if rpin.isreg(): return copy_reg_file(rpin, rpout, compress) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 129, in copy_reg_file return rpout.write_from_fileobj(rpin.open("rb"), compress = compress) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 1146, in write_from_fileobj copyfileobj(fp, outfp) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 60, in copyfileobj outputfp.write(inbuf) Exception '[Errno 30] Read-only file system' raised of class '<type 'exceptions.IOError'>': File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 232, in patch ITR(diff.index, diff) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 529, in fast_process if self.patch_to_temp(mirror_rp, diff_rorp, tf): File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 550, in patch_to_temp result = self.patch_snapshot_to_temp(diff_rorp, new) File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 579, in patch_snapshot_to_temp (diff_rorp, new)) File "/usr/lib64/python2.6/site-packages/rdiff_backup/robust.py", line 32, in check_common_error try: return function(*args) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 101, in copy if rpin.isreg(): return copy_reg_file(rpin, rpout, compress) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 129, in copy_reg_file return rpout.write_from_fileobj(rpin.open("rb"), compress = compress) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 1146, in write_from_fileobj copyfileobj(fp, outfp) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 60, in copyfileobj outputfp.write(inbuf) Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 23, in <module> rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 232, in patch ITR(diff.index, diff) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 529, in fast_process if self.patch_to_temp(mirror_rp, diff_rorp, tf): File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 550, in patch_to_temp result = self.patch_snapshot_to_temp(diff_rorp, new) File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py", line 579, in patch_snapshot_to_temp (diff_rorp, new)) File "/usr/lib64/python2.6/site-packages/rdiff_backup/robust.py", line 32, in check_common_error try: return function(*args) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 101, in copy if rpin.isreg(): return copy_reg_file(rpin, rpout, compress) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 129, in copy_reg_file return rpout.write_from_fileobj(rpin.open("rb"), compress = compress) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 1146, in write_from_fileobj copyfileobj(fp, outfp) File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py", line 60, in copyfileobj outputfp.write(inbuf) IOError: [Errno 30] Read-only file system close failed in file object destructor: IOError: [Errno 30] Read-only file system linux-oe0e:/media/disk # Thanks. _______________________________________________ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki