rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] rdiff to SMB share?


From: Ben Escoto
Subject: Re: [rdiff-backup-users] rdiff to SMB share?
Date: Wed, 11 Jan 2006 16:45:22 -0600

>>>>> Cengiz Gunay <address@hidden>
>>>>> 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

Attachment: pgpciw0Wy716b.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]