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

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

Re: [rdiff-backup-users] IOError: [Errno 35] Resource deadlock avoided


From: Ben Escoto
Subject: Re: [rdiff-backup-users] IOError: [Errno 35] Resource deadlock avoided
Date: Tue, 18 Mar 2003 23:14:18 -0800

>>>>> "DK" == Dave Kempe <address@hidden>
>>>>> wrote the following on 19 Mar 2003 17:17:29 +1100

  DK> Hi people, When I run a backup (V 10.1) backing up a samba share
  DK> to a mounted firewire disk it works fine aside from some files
  DK> that seem to be in use on the server.  When i start the backup
  DK> again immediately it seems happy to skip on past the in use
  DK> files and keep backing up. Is there a way I can get it to skip
  DK> anyway - just not backup files that are in use but get most of
  DK> the source system anyway?

  DK> Here is the full output:

  DK> Exception '[Errno 35] Resource deadlock avoided' raised of class

Adding 'EDEADLOCK' to the list of non-fatal errors should do it.  Here
is a patch to 0.11.4, but your version should be similar:

===================================================================
RCS file: /cvsroot/rdiff-backup/rdiff-backup/rdiff_backup/robust.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- rdiff-backup/rdiff-backup/rdiff_backup/robust.py    2003/02/25 08:18:43     
1.33
+++ rdiff-backup/rdiff-backup/rdiff_backup/robust.py    2003/03/19 07:07:03     
1.34
@@ -53,7 +53,7 @@
                 errno.errorcode[exc[0]] in ('EPERM', 'ENOENT', 'EACCES', 
'EBUSY',
                                                                         
'EEXIST', 'ENOTDIR', 'ENAMETOOLONG',
                                                                         
'EINTR', 'ENOTEMPTY', 'EIO', 'ETXTBSY',
-                                                                        
'ESRCH', 'EINVAL'))):
+                                                                        
'ESRCH', 'EINVAL', 'EDEADLOCK'))):
                return 1
        return 0
 

-- 
Ben Escoto

Attachment: pgpF8Y4LTvcmN.pgp
Description: PGP signature


reply via email to

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