[Box Backup] Verify/restore very large file (>4GB)

Ben Summers boxbackup@fluffy.co.uk
Mon, 9 Oct 2006 08:54:52 +0100


Alex,

Sorry for the problems, it's most likely this

   http://bbdev.fluffy.co.uk/trac/ticket/2

but I haven't yet gotten around to fixing it. An insistence on tests  
for problems as well as a fix can slow things down, but you could  
just try the one line fix and see if it makes a different.

Ben


On 9 Oct 2006, at 07:02, Alex Harper wrote:

> Hi,
>
> I've been testing Box and been pleased. However, I've run into a  
> glitch with
> the suggested verification procedure (bbackupquery "compare -a"). I've
> narrowed the issue down to one backed up file, which is 4.6GB in size.
>
> It appears the file is correctly stored, block size in the  
> repository seems
> about right, and "compare -aq" reports no issues. However actually  
> restoring
> the file results in a hung bbackupquery after about 600MB are  
> restored. It
> also leaves a hung bbstored on the server that spins at about 15%  
> CPU usage.
>
> This is OS X PPC, Box 0.10 built from source with large file support.
>
> Given the sizes involved its seems likely this is uint32 to uint64
> comparison somewhere, but I haven't had much luck tracing it  
> through debug
> builds of bbackupquery.
>
> Is this a known issue? Perhaps already resolved in svn? Is the svn  
> mainline
> considered stable enough to test (and perhaps use if it fixes the  
> issue)?
>
> Any pointers for where to start looking in the code appreciated.  
> Thanks,
>
> Alex
>
> --
> Alex Harper                                     aharper@foobox.net
> "Use whatever you think of first" -- Larry Wall
>
>
>
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup