No space left on device trying to use docker image

117 views
Skip to first unread message

w...@bitplan.com

unread,
Mar 30, 2020, 9:26:45 AM3/30/20
to JanusGraph users
When trying to debug


i tried a different machine. The tests faild on my Mac OS computer so i tried an Ubuntu 18.04 LTS
machine

on the Ubuntu 18.04 LTS machine when starting:

docker run -it -p 8182:8182 janusgraph/janusgraph



i get ...

Status: Downloaded newer image for janusgraph/janusgraph:latest
cp: error writing '/etc/opt/janusgraph/janusgraph.properties': No space left on device
cp
: error writing '/etc/opt/janusgraph/gremlin-server.yaml': No space left on device
/usr/local/bin/docker-entrypoint.sh: line 59: echo: write error: No space left on device
/usr/local/bin/docker-entrypoint.sh: line 59: echo: write error: No space left on device
/usr/local/bin/docker-entrypoint.sh: line 59: echo: write error: No space left on device
/usr/local/bin/docker-entrypoint.sh: line 59: echo: write error: No space left on device
/usr/local/bin/docker-entrypoint.sh: line 59: echo: write error: No space left on device
/usr/local/bin/docker-entrypoint.sh: line 74: echo: write error: No space left on device
waiting
for storage...





How can i configure the space needed and how much is it? Isn't it a bug that the needed space is not checked on installation?

Florian Hockmann

unread,
Apr 14, 2020, 9:05:44 AM4/14/20
to JanusGraph users
The space needed is different for every release of JanusGraph so it is not easy to answer this in general. I'd say that you should have about 2 GB of disk space available to be on the safe side. What's failing here is the copy of two simple config files so it looks like your disk is really completely full. Is that actually the case?

Isn't it a bug that the needed space is not checked on installation?

I would see it more as a possible enhancement for JanusGraph to check this as it would basically only improve the error message you're getting. Since the Docker image really only copies some config files and modifies them which is failing for you, I'm also not sure whether it makes sense to add such a check as it would need to verify that you have some KB available only to copy files. But if you disagree, you can create an issue to suggest this as an improvement in our repository for this Docker image.

w...@bitplan.com

unread,
Apr 14, 2020, 9:10:12 AM4/14/20
to JanusGraph users
Reply all
Reply to author
Forward
0 new messages