[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Problems with backup to CIFS
From: |
Andrew Ferguson |
Subject: |
Re: [rdiff-backup-users] Problems with backup to CIFS |
Date: |
Sat, 17 Mar 2007 23:47:09 -0400 |
User-agent: |
Thunderbird 1.5.0.10 (Macintosh/20070221) |
Mario,
The code in question:
----------------------------------------------
upper_a = subdir.append("A")
upper_a.touch()
lower_a = subdir.append("a")
if lower_a.lstat():
lower_a.delete()
upper_a.setdata()
assert not upper_a.lstat()
return 0
else:
upper_a.delete()
return 1
----------------------------------------------
1) creates the file 'A'
2) Tests if the file 'a' now exists
3) If it does not exist, then the filesystem is case-sensitive (A != a)
4) If it does exist, then the filesystem is case-insensitive (A == a)
If the filesystem is case-insensitive, delete file 'a', then check that
this goes both ways and file 'A' no longer exists
upper_a.setdata() re-rsyncs rdiff-backup's internal data structure that
describes the state and metadata of a given file (in this case the file
'A').
I believe that this exception is do to some sort of caching or
synchronization weirdness. It is present only when backing-up to
SMB/CIFS systems, and only for certain users.
Andrew
Mario Doering wrote:
> When commenting out the line 238 in fs_abilities.py, everythings seems
> to work as normal.
>
> But I have no clue if this could do lead to other problems later.
>
> What does this line exactly check?
>
> And what does upper_a.setdata() do?
>
>
> I did this with rdiff-backup-1.0.4 (this version is marked stable in
> gentoo).
>
>
>
>
> On Fri, 16 Mar 2007 16:56:09 +0100
> Mario Doering <address@hidden> wrote:
>
>> Hello,
>>
>> are there any news on this subject:
>>
>> http://lists.nongnu.org/archive/html/rdiff-backup-users/2007-03/msg00000.html
>>
>>
>> I have exactly the same problem.
>>
>> The same error when trying to back up to a terastation.
>>
>>
>> But no problems when trying to backup on a real windows computer with
>> the same mount options.
>>
>> Regards,
>> Mario.
>>
>>
>> _______________________________________________
>> rdiff-backup-users mailing list at address@hidden
>> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
>> Wiki URL:
>> http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
>
>
> _______________________________________________
> rdiff-backup-users mailing list at address@hidden
> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
>
--
Andrew Ferguson - address@hidden