[Box Backup] RaidFileDoesntExist (2/11)

dave bamford boxbackup@fluffy.co.uk
Wed, 18 Apr 2007 13:40:59 +0100


Hi

I get the same error but for a different reason. I just moved the server 
from a machine
running FC5 to Debian and copied the accounts. I noticed I was getting 
the RaidFileDoesntExist (2/11)
in the logs so I looked on the list and found this email.
When I run bbstoreaccounts check xx fix it throws the same exception 
when it finds an error
to fix.

I tracked the code down to RaidFileUtil::RaidFileExists which most of 
the time returns
NonRaid, but returns NoFile when a write is required.

I am running SW RAID 1 in the OS so I have told the server that there is 
no RAID
I hope this is right as it was how the old server worked. The store is 
mounted
on /dev/md0 as /boxbackup.

If I hack the code so that NoFile is replaced by NonRaid the check fix 
continues
but eventually throws and exception CannotOverwriteExistingFile (2/4)

Now I am stuck as I am not a programmer.

Thanks

Dave Bamford.



Peter Porter wrote:

> Ben Summers wrote:
>
>>
>> On 21 Mar 2007, at 03:49, Peter Porter wrote:
>>
>>> I've come across an odd issue with one of my Box Backup clients 
>>> (v0.10, server and clients) -- "exception RaidFile 
>>> RaidFileDoesn'tExist (2/11)".  The error arose several months ago, 
>>> and continues to happen on any attempted connection for that 
>>> particular client, both remote connections -- from bbackupd or 
>>> bbackupquery, during bbstored housekeeping, or locally on the backup 
>>> server when running "bbstoreaccounts info".
>>>
>>> I saw no further details when enabling ExtendedLogging or a debug 
>>> build, but I added a few extra debugging statements and figured out 
>>> that it can't find "info.rfw" in that account's folder.  I see an 
>>> info.rfw file in other accounts' folders, but not in 
>>> /backups/backup/000000c2/.  Any ideas what could have caused this, 
>>> or how to recreate this file?  I'm hoping there's a way to recover 
>>> from this situation rather than blowing away the store and having 
>>> the client repopulate an empty store.  I'd like to know what sort of 
>>> situation could cause this, but evidence for that may be long gone...
>>
>>
>>
>> bbstoreaccounts check c2 fix
>>
>> Ben
>
>
> Well, I feel a bit stupid now.  That was directly on the documentation 
> site.  It found and repaired one error and resolved my issue.  Thanks 
> for the help Ben, I apologize for wasting your time.
>
> I assume this has been discussed before, but is there a plan to add 
> command-line help (e.g. an -h or -? argument that explains what 
> commands are possible) to the various Box Backup applications?  Or man 
> pages for the apps and config files?
>
> -Peter
>
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
>