Docker Total disk space less than required minimum

Hello
I am new here. I have already checked posts but did not helped. I have problem with docker. I have Downloaded the Storage Node Docker Container and set Software Updates as written on official website.
when i am trying to run this command: docker exec -it storagenode /app/dashboard.sh
i am getting this error:

Error response from daemon: Container 311c3e00c9a30f86b25ec8f213f208fdde76bf1be5b4a5192de19e7abddb479b is restarting, wait until the container is running.

when i am running command:

docker logs --tail 50 --follow --timestamps storagenode

i am getting those errors:

2019-12-16T19:38:46.918646034Z 2019-12-16T19:38:46.917Z FATAL   Unrecoverable error     {"error": "piecestore monitor: disk space requirement not met", "errorVerbose": "piecestore monitor: disk space requirement not met\n\tstorj.io/storj/storagenode/monitor.(*Service).Run:118\n\tstorj.io/storj/storagenode.(*Peer).Run.func2:433\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2019-12-16T19:39:49.875193031Z 2019-12-16T19:39:49.874Z INFO    Configuration loaded from: /app/config/config.yaml
2019-12-16T19:39:49.885537350Z 2019-12-16T19:39:49.884Z INFO    Operator email: giorgig31@gmail.com
2019-12-16T19:39:49.886011879Z 2019-12-16T19:39:49.885Z INFO    operator wallet: 0x85364ac3F5B0ad048f85db61790c7f5E39B466Dd
2019-12-16T19:39:50.689370832Z 2019-12-16T19:39:50.688Z INFO    version running on version v0.27.1
2019-12-16T19:39:50.730230559Z 2019-12-16T19:39:50.729Z INFO    db.migration    Database Version        {"version": 26}
2019-12-16T19:39:50.737716196Z 2019-12-16T19:39:50.736Z INFO    contact:chore   Storagenode contact chore starting up
2019-12-16T19:39:50.741619300Z 2019-12-16T19:39:50.741Z INFO    pieces:trashchore       Storagenode TrashChore starting up
2019-12-16T19:39:50.756542761Z 2019-12-16T19:39:50.755Z INFO    bandwidth       Performing bandwidth usage rollups
2019-12-16T19:39:50.758372543Z 2019-12-16T19:39:50.757Z INFO    Node 12tq5WDjGCc378oLfDR3qP8tdnzL9iGCKfGCp4v9tiVnn7zqEQM started
2019-12-16T19:39:50.758534730Z 2019-12-16T19:39:50.758Z INFO    Public server started on [::]:28967
2019-12-16T19:39:50.758918686Z 2019-12-16T19:39:50.758Z INFO    Private server started on 127.0.0.1:7778
2019-12-16T19:39:50.788225559Z 2019-12-16T19:39:50.787Z INFO    piecestore:monitor      Remaining Bandwidth     {"bytes": 20000000000000}
2019-12-16T19:39:50.788344934Z 2019-12-16T19:39:50.787Z WARN    piecestore:monitor      Disk space is less than requested. Allocating space     {"bytes": 53266182144}
2019-12-16T19:39:50.788602432Z 2019-12-16T19:39:50.787Z ERROR   piecestore:monitor      Total disk space less than required minimum     {"bytes": 500000000000}
2019-12-16T19:39:50.790100862Z 2019-12-16T19:39:50.789Z ERROR   version Failed to do periodic version check: version control client error: Get https://version.storj.io: context canceled
2019-12-16T19:39:50.864906604Z 2019-12-16T19:39:50.863Z FATAL   Unrecoverable error     {"error": "piecestore monitor: disk space requirement not met", "errorVerbose": "piecestore monitor: disk space requirement not met\n\tstorj.io/storj/storagenode/monitor.(*Service).Run:118\n\tstorj.io/storj/storagenode.(*Peer).Run.func2:433\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2019-12-16T19:40:53.895526740Z 2019-12-16T19:40:53.894Z INFO    Configuration loaded from: /app/config/config.yaml
2019-12-16T19:40:53.905461109Z 2019-12-16T19:40:53.905Z INFO    Operator email: giorgig31@gmail.com
2019-12-16T19:40:53.905905169Z 2019-12-16T19:40:53.905Z INFO    operator wallet: 0x85364ac3F5B0ad048f85db61790c7f5E39B466Dd
2019-12-16T19:40:54.663733022Z 2019-12-16T19:40:54.663Z INFO    version running on version v0.27.1
2019-12-16T19:40:54.726212087Z 2019-12-16T19:40:54.725Z INFO    db.migration    Database Version        {"version": 26}
2019-12-16T19:40:54.733613815Z 2019-12-16T19:40:54.732Z INFO    contact:chore   Storagenode contact chore starting up
2019-12-16T19:40:54.734940943Z 2019-12-16T19:40:54.734Z INFO    pieces:trashchore       Storagenode TrashChore starting up
2019-12-16T19:40:54.737489366Z 2019-12-16T19:40:54.736Z INFO    bandwidth       Performing bandwidth usage rollups
2019-12-16T19:40:54.743713080Z 2019-12-16T19:40:54.743Z INFO    Node 12tq5WDjGCc378oLfDR3qP8tdnzL9iGCKfGCp4v9tiVnn7zqEQM started
2019-12-16T19:40:54.744413753Z 2019-12-16T19:40:54.743Z INFO    Public server started on [::]:28967
2019-12-16T19:40:54.744590470Z 2019-12-16T19:40:54.743Z INFO    Private server started on 127.0.0.1:7778
2019-12-16T19:40:54.746860197Z 2019-12-16T19:40:54.746Z INFO    piecestore:monitor      Remaining Bandwidth     {"bytes": 20000000000000}
2019-12-16T19:40:54.747031810Z 2019-12-16T19:40:54.746Z WARN    piecestore:monitor      Disk space is less than requested. Allocating space     {"bytes": 53266165760}
2019-12-16T19:40:54.747473579Z 2019-12-16T19:40:54.746Z ERROR   piecestore:monitor      Total disk space less than required minimum     {"bytes": 500000000000}
2019-12-16T19:40:54.748797373Z 2019-12-16T19:40:54.748Z ERROR   version Failed to do periodic version check: version control client error: Get https://version.storj.io: context canceled
2019-12-16T19:40:54.815542664Z 2019-12-16T19:40:54.814Z ERROR   collector       error during collecting pieces:         {"error": "piece expiration error: context canceled", "errorVerbose": "piece expiration error: context canceled\n\tstorj.io/storj/storagenode/storagenodedb.(*pieceExpirationDB).GetExpired:39\n\tstorj.io/storj/storagenode/pieces.(*Store).GetExpired:473\n\tstorj.io/storj/storagenode/collector.(*Service).Collect:88\n\tstorj.io/storj/storagenode/collector.(*Service).Run.func1:55\n\tstorj.io/storj/private/sync2.(*Cycle).Run:87\n\tstorj.io/storj/storagenode/collector.(*Service).Run:51\n\tstorj.io/storj/storagenode.(*Peer).Run.func4:439\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2019-12-16T19:40:54.842266832Z 2019-12-16T19:40:54.841Z FATAL   Unrecoverable error     {"error": "piecestore monitor: disk space requirement not met", "errorVerbose": "piecestore monitor: disk space requirement not met\n\tstorj.io/storj/storagenode/monitor.(*Service).Run:118\n\tstorj.io/storj/storagenode.(*Peer).Run.func2:433\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2019-12-16T19:41:57.808592907Z 2019-12-16T19:41:57.807Z INFO    Configuration loaded from: /app/config/config.yaml
2019-12-16T19:41:57.818621023Z 2019-12-16T19:41:57.818Z INFO    Operator email: giorgig31@gmail.com
2019-12-16T19:41:57.819339977Z 2019-12-16T19:41:57.819Z INFO    operator wallet: 0x85364ac3F5B0ad048f85db61790c7f5E39B466Dd
2019-12-16T19:41:58.577420373Z 2019-12-16T19:41:58.576Z INFO    version running on version v0.27.1
2019-12-16T19:41:58.625027164Z 2019-12-16T19:41:58.624Z INFO    db.migration    Database Version        {"version": 26}
2019-12-16T19:41:58.634982936Z 2019-12-16T19:41:58.634Z INFO    bandwidth       Performing bandwidth usage rollups
2019-12-16T19:41:58.636640946Z 2019-12-16T19:41:58.636Z INFO    Node 12tq5WDjGCc378oLfDR3qP8tdnzL9iGCKfGCp4v9tiVnn7zqEQM started
2019-12-16T19:41:58.636856622Z 2019-12-16T19:41:58.636Z INFO    Public server started on [::]:28967
2019-12-16T19:41:58.637042350Z 2019-12-16T19:41:58.636Z INFO    Private server started on 127.0.0.1:7778
2019-12-16T19:41:58.639186452Z 2019-12-16T19:41:58.638Z INFO    contact:chore   Storagenode contact chore starting up
2019-12-16T19:41:58.640386913Z 2019-12-16T19:41:58.639Z INFO    pieces:trashchore       Storagenode TrashChore starting up
2019-12-16T19:41:58.706771870Z 2019-12-16T19:41:58.706Z INFO    piecestore:monitor      Remaining Bandwidth     {"bytes": 20000000000000}
2019-12-16T19:41:58.706944473Z 2019-12-16T19:41:58.706Z WARN    piecestore:monitor      Disk space is less than requested. Allocating space     {"bytes": 53266108416}
2019-12-16T19:41:58.706997337Z 2019-12-16T19:41:58.706Z ERROR   piecestore:monitor      Total disk space less than required minimum     {"bytes": 500000000000}
2019-12-16T19:41:58.708112018Z 2019-12-16T19:41:58.707Z ERROR   version Failed to do periodic version check: version control client error: Get https://version.storj.io: context canceled
2019-12-16T19:41:58.778458304Z 2019-12-16T19:41:58.777Z FATAL   Unrecoverable error     {"error": "piecestore monitor: disk space requirement not met", "errorVerbose": "piecestore monitor: disk space requirement not met\n\tstorj.io/storj/storagenode/monitor.(*Service).Run:118\n\tstorj.io/storj/storagenode.(*Peer).Run.func2:433\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}

I think that problem is in space but i can not solve problem.
please help me.

1)how big is HDD you want to share minimum is 500GB
2) did you mount hdd by fstab?

i have 2 HDD(750GB and 40GB). i mounted them using fdisk

Like writen in this?


you need to make permanen mount

Could you please share your run command (you can filter out any personal stuff you don’t want to share).

2019-12-16T19:39:50.787Z WARN    piecestore:monitor      Disk space is less than requested. Allocating space     {"bytes": 53266182144}

That line means it only sees 53GB of free space on the data location you entered. Which is not enough for the minimum requirement. This usually means a wrong data path is set or the HDD isn’t mounted correctly as @Vadim mentioned.

1 Like

I have 64 GB micro SD Card on which the operation system is written . I also have 2 HDD connected via USB to raspberry pi. First HDD is 40 GB and second one 750 GB.
I tried manual which was posted by @Vadim but did not helped. problem is adding cgroup memory support:

sudo nano /boot/cmdline.txt

i added

dwc_otg.lpm_enable=0

and it worked. I installed Docker container with storagenode from official documentation:
because could not run from manual.

i still have problem. I can not go online. I already checked container using
docker ps -a command, works fine.

I can not go on Dashboard http://127.0.0.1:14002/ does not work and docker exec -it storagenode /app/dashboard.sh shows me that i am offline.

Please help.

Please, use this checklist:

thanks a lot. now it’s working