My node just went offline recently and I couldn’t found a way to make it go back on. Rebooting or restarting docker won’t help.
Here’s the docker log.
I’m using a 500gb hdd drive but after formatting it’s only 450gb. Everything runs smoothly until now where it says total disk space less than requirement
2020-02-29T03:16:06.977Z INFO Node 12LWkyBdmn4mYQAwc2DvJKusKFv123Hif9HDhFkRHGNFAR7qe3E started
2020-02-29T03:16:06.987Z INFO Public server started on [::]:28967
2020-02-29T03:16:06.988Z INFO Private server started on 127.0.0.1:7778
2020-02-29T03:16:07.000Z INFO piecestore:monitor Remaining Bandwidth {"bytes": 1977997311744}
2020-02-29T03:16:07.000Z ERROR piecestore:monitor Total disk space less than required minimum {"bytes": 500000000000}
2020-02-29T03:16:07.001Z ERROR pieces:trash emptying trash failed {"error": "pieces error: filestore error: context canceled", "errorVerbose": "pieces error: filestore error: context canceled\n\tstorj.io/storj/storage/filestore.(*blobStore).EmptyTrash:127\n\tstorj.io/storj/storagenode/pieces.(*BlobsUsageCache).EmptyTrash:309\n\tstorj.io/storj/storagenode/pieces.(*Store).EmptyTrash:329\n\tstorj.io/storj/storagenode/pieces.(*TrashChore).Run.func1:51\n\tstorj.io/common/sync2.(*Cycle).Run:87\n\tstorj.io/common/sync2.(*Cycle).Start.func1:68\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2020-02-29T03:16:07.003Z ERROR pieces:trash emptying trash failed {"error": "pieces error: filestore error: context canceled", "errorVerbose": "pieces error: filestore error: context canceled\n\tstorj.io/storj/storage/filestore.(*blobStore).EmptyTrash:127\n\tstorj.io/storj/storagenode/pieces.(*BlobsUsageCache).EmptyTrash:309\n\tstorj.io/storj/storagenode/pieces.(*Store).EmptyTrash:329\n\tstorj.io/storj/storagenode/pieces.(*TrashChore).Run.func1:51\n\tstorj.io/common/sync2.(*Cycle).Run:87\n\tstorj.io/common/sync2.(*Cycle).Start.func1:68\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2020-02-29T03:16:07.003Z ERROR pieces:trash emptying trash failed {"error": "pieces error: filestore error: context canceled", "errorVerbose": "pieces error: filestore error: context canceled\n\tstorj.io/storj/storage/filestore.(*blobStore).EmptyTrash:127\n\tstorj.io/storj/storagenode/pieces.(*BlobsUsageCache).EmptyTrash:309\n\tstorj.io/storj/storagenode/pieces.(*Store).EmptyTrash:329\n\tstorj.io/storj/storagenode/pieces.(*TrashChore).Run.func1:51\n\tstorj.io/common/sync2.(*Cycle).Run:87\n\tstorj.io/common/sync2.(*Cycle).Start.func1:68\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2020-02-29T03:16:07.004Z ERROR version Failed to do periodic version check: version control client error: Get https://version.storj.io: context canceled
2020-02-29T03:16:07.004Z ERROR pieces:trash emptying trash failed {"error": "pieces error: filestore error: context canceled", "errorVerbose": "pieces error: filestore error: context canceled\n\tstorj.io/storj/storage/filestore.(*blobStore).EmptyTrash:127\n\tstorj.io/storj/storagenode/pieces.(*BlobsUsageCache).EmptyTrash:309\n\tstorj.io/storj/storagenode/pieces.(*Store).EmptyTrash:329\n\tstorj.io/storj/storagenode/pieces.(*TrashChore).Run.func1:51\n\tstorj.io/common/sync2.(*Cycle).Run:87\n\tstorj.io/common/sync2.(*Cycle).Start.func1:68\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2020-02-29T03:16:07.005Z ERROR pieces:trash emptying trash failed {"error": "pieces error: filestore error: context canceled", "errorVerbose": "pieces error: filestore error: context canceled\n\tstorj.io/storj/storage/filestore.(*blobStore).EmptyTrash:127\n\tstorj.io/storj/storagenode/pieces.(*BlobsUsageCache).EmptyTrash:309\n\tstorj.io/storj/storagenode/pieces.(*Store).EmptyTrash:329\n\tstorj.io/storj/storagenode/pieces.(*TrashChore).Run.func1:51\n\tstorj.io/common/sync2.(*Cycle).Run:87\n\tstorj.io/common/sync2.(*Cycle).Start.func1:68\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2020-02-29T03:16:07.029Z ERROR piecestore:cache error getting current space used calculation: {"error": "context canceled; context canceled; context canceled; context canceled; context canceled", "errorVerbose": "group:\n--- context canceled\n--- context canceled\n--- context canceled\n--- context canceled\n--- context canceled"}
Error: piecestore monitor: disk space requirement not met
You would need to migrate your node from this HDD to another bigger HDD that has at least 500GB of actual free space and 10% more as overhead. 500GB HDDs don’t actually have 500GB as free.
It says copying all the files in /home/pi/.local/share/storj/identity/storagenode and update the --mount parameters. Do I need to move all the contents in my 475GB HDD or I just plug a new bigger drive in and that’s all?
SHR is actually RAID1/5 based, depending on the number of HDD’s. SHR-2 is RAID6 based, Both of those would be ok. But in most cases it would be better to run multiple nodes. I have no idea whether the OP has Synology though, so that’s quite a leap to advise a Synology specific solution.
Most likely you’ll be best of just copying the data to a new larger HDD and run the node again from there.
Rsynced the storage node folder on my Pi to my computer.
Removed the storage node folder on my Pi and delete the storage node docker
Rsynced back the storage node folder to Pi and start a new storage node
When I start the docker and check logs, it still says total disk space less than minimum.
Here’s the log: https://hastebin.com/ihogavonuz.coffeescript
When I run the audits_satellites script.
The error it give is: Error: piecestore monitor: disk space requirement not met.
I’ve also see that all my successful audits is gone and is replaced with 6 recoverable failed audits.
Is there something I can do to fix this situation? Thanks a lot.
Thanks for your answer. Now that’s solved can you take a look at this as I see some error relating to blobscache and uploading failed. Should I be worried about this?
2020-03-02T07:23:50.336Z ERROR blobscache trashTotal < 0 {“trashTotal”: -23488512}