Storagenode.exe stopping for too long, for 10h+

Windows/PowerShell

Logs should be at least info level

Used space filewalker

Regulated by the parameter in the config.yaml file or as a command line argument (add -- before the parameter, remove :, place it after the image name in your docker run command):

# if set to true, all pieces disk usage is recalculated on startup (default true)
storage2.piece-scan-on-startup: true

to watch for a progress:

cat "C:\Program Files\Storj\Storage Node\*.log" -Wait | sls "used-space-filewalker" | sls "started|finished"

gc-filewalker

cat "C:\Program Files\Storj\Storage Node\*.log" -Wait | sls "gc-filewalker" | sls "started|finished"

retain

cat "C:\Program Files\Storj\Storage Node\*.log" -Wait | sls "retain"

collector

cat "C:\Program Files\Storj\Storage Node\*.log" -Wait | sls "collector"

trash

cat "C:\Program Files\Storj\Storage Node\*.log" -Wait | sls "piece:trash"

Linux/Docker