CCBR / spacesavers2

https://ccbr.github.io/spacesavers2
0 stars 1 forks source link

`df` doesn't agree with total disk usage from spacesavers #64

Closed kelly-sovacool closed 7 months ago

kelly-sovacool commented 8 months ago
head -n 2 /data/CCBR_Pipeliner/userdata/spacesavers2/20240129/20240129._data_CCBR.allusers.summary.txt
FolderPath  TotalBytes  DuplicateBytes  PercentDuplicateBytes   TotalFiles  DuplicateFiles  PercentDuplicateFiles   TotalMeanAge    DuplicateMeanAge    AgeScore    DupScore    OccScore    OverallScore
/data/CCBR  198711414724619 6832037591780   3.44    21430175    3189317 14.88   1025.11 1087.46 0.1815  0.0155  0.3500  45

The total disk usage in /data/CCBR reported across all users is listed as 198711414724619 bytes or 180.7 TiB.

However, df reports a higher usage:

df /data/CCBR
Filesystem        1K-blocks         Used  Available Use% Mounted on
10.2.32.65:/   214748364800 209484360704 5264004096  98% /vf
df -h /data/CCBR
Filesystem      Size  Used Avail Use% Mounted on
10.2.32.65:/    200T  196T  5.0T  98% /vf
kopardev commented 7 months ago

Fixed in #74