>>>>> Cengiz Gunay <[EMAIL PROTECTED]> >>>>> wrote the following on Wed, 11 Jan 2006 16:37:30 -0500 (EST) > > I updated from CVS and this time I get this error (note that it still > works fine for within-unix-fs operations): ... > Exception '[Errno 16] Device or resource busy removing > /Lab/cengiz/emory/cgunay/home_backup/rdiff-backup-data/rdiff-backup.tmp.0' > raised of class 'exceptions.OSError': ... > subdir.delete() > File "/usr/src/rdiff-backup/rdiff_backup/rpath.py", line 945, in delete > self.conn.shutil.rmtree(self.path) > File "/usr/lib64/python2.3/shutil.py", line 140, in rmtree > raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
> As it said, rdiff-backup.tmp.0 directory was still there after it crashed.
> But a simple "rm -r" was sufficient to remove it. So I'm not sure what it
> means by saying "Device or resource busy removing"?
I'm not sure, why don't you add an endless loop, like
while 1: pass
right before subdir.delete() in fs_abilities.py. Remember to intent
it just like the subdir.delete() line (in python, whitespace is
significant).
Then run rdiff-backup again, and when it loops, find that
rdiff-backup.tmp.0 directory and try to remove it. You should get
that same error. Tell me which file(s) cause problems, and what's in
those files.
--
Ben Escoto
pgptqXIUq2T1Q.pgp
Description: PGP signature
_______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
