Unaccounted data is stored in the trash


Any comments ?

tl;dr It’s not unaccounted for. Files will be deleted after 7 days.

2 Likes

Do you have disabled Filewalker?

How many files older than 7 days?
PowerShell

Get-ChildItem -Path E:\Storj\trash\ -File -Recurse | Where-Object { $_.LastWriteTime -lt (Get-Date).AddDays(-8) } | Measure-Object -Property Length -Sum
2 Likes

What is the similar command for linux docker?

find /mnt/storj/storagenode/storage/trash/ -mtime +7 -type f -exec du --block-size=1000 '{}' ';' | awk '{total+=$1; count++}END{print "TOTAL", total/1000, "MB\n" "count", count}'
3 Likes

I did this and got that:

find /volume1/Storj/storage/trash/ -mtime +7 -type f -exec du --block-size=1000 '{}' ';' | awk '{total+=$1; count++}END{print "TOTAL", total/1000, "MB\n" "count", count}'
TOTAL 0 MB
count

I guess I have no old files…

Yes. You may use +6 to see what files are close to expire.