Disk usage discrepancy?

This doesn’t matter too much, what you need to do is to replace Get-Content pathToTheLogs with docker logs storagenode 2>&1.
See examples for docker:

If you use a PowerShell, then you can replace grep to sls.

two ways - filter logs for error and database, i.e.
for the bash and docker:

docker logs storagenode 2>&1 | grep -i error | grep database | tail

for the PowerShell and docker:

docker logs storagenode 2>&1 | sls error | sls database | select -last 10

or using this guide:
https://support.storj.io/hc/en-us/articles/360029309111-How-to-fix-a-database-disk-image-is-malformed

However, I would suggest to check logs anyway. There are could be other errors like “database is locked”.