[tahoe-dev] "tahoe stats" command
Brian Warner
warner-tahoe at allmydata.com
Tue Feb 10 13:16:46 PST 2009
Andrej: thanks for the great bug reports!
On Tue, 10 Feb 2009 18:57:11 +1100
Andrej Falout <andrej at falout.org> wrote:
> tahoe client printed out:
> 1558 files uploaded (3654 reused), 223 directories created (0 reused)
> But, running "tahoe stats" for for Backups/polar/data/Pictures/Latest gives:
> count-immutable-files: 4181
> count-literal-files: 66
> count-files: 4247
> count-directories: 223
> size-immutable-files: 3945582070 (3.95 GB, 3.67 GiB)
> Directory count matches, but files count (and size) does not?
> Is there an explanation, or should I download & diff to make sure this works?
Is it possible that there were only 4247 unique files in that directory (and
965 duplicates)? 'tahoe backup' counts files on disk, but 'tahoe stats'
removes duplicate filecaps before counting, so if you have two copies of the
same data (even under different names), they will only be counted once.
The size-immutable-files has the same property: it only counts the sizes of
unique files.
Incidentally, "literal files", in tahoe, refers to files that are small
enough to contain entirely within the filecap. I think the cutoff is 55
bytes. Any file that is larger than that will be included under "immutable
files".
cheers,
-Brian
More information about the tahoe-dev
mailing list