[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] More on failures to SMB-mounted disk
From: |
Keith Edmunds |
Subject: |
[rdiff-backup-users] More on failures to SMB-mounted disk |
Date: |
Tue, 1 Apr 2003 20:40:59 +0100 |
Ben, I have a little more information on the problems I was having
backing up to an SMB-mounted disk.
Firstly, soft links are definitely a problem, causing the following:
======================================
SpecialFileError httpd/htdocs/manual [Errno 1] Operation not permitted
UpdateError httpd/htdocs/manual Updated mirror temp file
/backups/zaphod/home/httpd/htdocs/rdiff-backup.tmp.33 does not match
source
======================================
Secondly, at the end of a backup (even one without soft links in the
source) I get the following (but note that the backup does seem to run
OK to completion before finishing like this):
======================================
mhlgengs001 site-packages # rdiff-backup --windows-mode /home
/backups/zaphod/home
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
237, in Main take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
211, in take_action elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
249, in Backup rpout.conn.Main.backup_touch_curmirror_local(rpin,
rpout) File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py",
line 347, in backup_touch_curmirror_local mirrorrp.fsync_with_dir()
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
911, in fsync_with_dir self.get_parent_rp().fsync()
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
904, in fsync os.fsync(fp.fileno())
OSError: [Errno 22] Invalid argument
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/backups/zaphod/home/rdiff-backup-data/error_log.2003-04-01;08419;0585
2;05848+01;05800.data.gz', mode 'wb' at 0x8273918 0x814ae2c>> ignored
======================================
Finally, if I try to perform another backup after the above failure, I
get:
======================================
mhlgengs001 site-packages # rdiff-backup -v7 --windows-mode /home
/backups/zaphod/home Previous backup seems to have failed, regressing
destination now. Regressing to Tue Apr 1 19:53:41 2003
Regressing file .keep
Writing file object to /backups/zaphod/home/rdiff-backup.tmp.0
Copying attributes from ('.keep',) to
/backups/zaphod/home/rdiff-backup.tmp.0 Setting time of
/backups/zaphod/home/rdiff-backup.tmp.0 to 1043257947 Traceback (most
recent call last): File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
237, in Main take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
211, in take_action elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
247, in Backup backup_init_dirs(rpin, rpout)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
279, in backup_init_dirs checkdest_if_necessary(rpout)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
609, in checkdest_if_necessary dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line
68, in Regress for rf in iterate_meta_rfs(mirror_rp, inc_rpath):
ITR(rf.index, rf) File
"/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line 275,
in __call__ last_branch.fast_process(*args)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line
211, in fast_process if rf.metadata_rorp.isreg():
self.restore_orig_regfile(rf) File
"/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line 232, in
restore_orig_regfile tf.fsync_with_dir() # make sure tf fully written
before move File
"/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 911, in
fsync_with_dir self.get_parent_rp().fsync()
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
904, in fsync os.fsync(fp.fileno())
OSError: [Errno 22] Invalid argument
======================================
This last error looks like a problem setting the date/time of a file.
Is there anything I can do to help resolve these problems?
Regards,
Keith
- [rdiff-backup-users] More on failures to SMB-mounted disk,
Keith Edmunds <=