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

Re: Strange stats



On 02/11/14 02:10, Clive Cox wrote:
>  I just "nuked" one of our machines archives and have seen strange stats. I
> assume this is a minor bug and we won't be charged... :-)

Indeed.

> # tarsnap --print-stats
>                                        Total size  Compressed size
> All archives                      18446744073707640646  18446744073707637982
>   (unique data)                   18446744073707640646  18446744073707637982

You might recognize these numbers as being slightly less than 2^64... there's
a bug in archive checkpointing which causes some overhead data to not be
counted in the statistics used for --print-stats.  When you delete data, on
the other hand -- whether via 'tarsnap -d' or 'tarsnap --nuke' -- that overhead
data is deducted from the running totals, yielding a small negative value.

The accounting on the server side is not affected by this, so there was never
any risk of being billed for almost 2^64 bytes of storage. ;-)

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid