Docker not working -> harddrive has no space left

  • Hello,


    i have some special OMV-Build on a raspberry pi 4 which consists of 3 components:

    1. NAS

    2. Plex Media Server

    3. "Moneyprintingmachine"


    I have 3 HDD attached to it (over a USB-Hub with an extern powersupply):

    1. HDD: 1,5 TB

    2. HDD: 500 GB

    3. HDD: 4 TB


    In this thread i want to focus on point 3.1. - "Moneyprintingmachine" with 1,5 TB HDD


    First of all: What do i mean with "moneyprintingmachine"?

    I used a service called Honeygain to share my unused internet in exchange for a little amount of money. First i used that service on an old smartphone at home connected to the internet and a powersupply. When i moved out from home i build that NAS with Plex Media Server. After some days an idea crossed my mind: installing honeygain inside docker on the rpi omv nas, since it's running 24/7. I stumbled accross a github project called CashFactory which includes some of them services like honeygain inside docker. It was a though thing to bring it up since some services didn't work with ARM so i found a workaround. I installed this docker on the 1,5 TB HDD, and saved on it also some fotos, videos, etc.


    But now docker isn't working anymore. The HDD has run out of space, without putting more pictures or videos on it. I guess it's because of docker. I remember that in a tutorial i followed i could remove the barrier for Honeygain to take up only a certain disk space, instead it uses the whole space available. But i don't find this tutorial anymore.


    My problem now is that docker doesn't run. Also the image files seem to be lost. Now i don't know what breaked my build but if i run docker prune -a it tells me that prune is available from docker v.25.+ and i have installed the v.24.+ when i try some other commands it tells can't connect to docker is the deamon even up? Or something like this. What does that mean? I tried to put the only image up i still have (plex) but it wont work, because i'm out of disk space.


    How can i fix this? I didn't found out which folder takes up that much space, to delete that folder.


    Also what would be best practise for such a thing? Would it be better to connect a single usb stick to the raspberry which is used only for the "moneyprintingmachine"? Do someone of you know a way i can fix this, or set up this " moneyprintingmachine" on a usb stick and fix the space issue somehow without moving the fotos, videos, etc. from one HDD to another HDD and formating the 1,5 TB HDD? So i'm searching for a solution with less work/circumstances as possible.


    Thanks in advice,

    Dissi :)

    • Official Post

    didn't found out which folder takes up that much space,

    This might help you if you don't use the command on your root fs, but on the one that is full


  • Thanks, but it shows only dev/sdc1 is full but not the exat folder which uses all the space :/

    Did you read the post from macom ?


    Everything is explained there

  • Did you read the post from macom ?


    Everything is explained there

    I have read it but i can't cd into /dev/sdc1


    And yes i know he also writes to change the mounting point but to be honest i'm a bit afraid of doing that since i don't know if this step would have any other effect on my system. Is this step save? Do i only need to unmount it later and it's like now?


    Edit: i tried it now but it seems not to help... The disk isn't at the bottom but in the middle with 276K. But still i can't cd inside this directory.


    Sorry for my stupid questions, but i'm not that familiar with linux and cli, i'm still learning...


    Edit 2: now i tried it with sudo and i cd /dev-disk-by-uuid-xxxx


    But it seems that nothing is there, this is the output:

    276K .

    104K ./buildkit

    40K ./network

    40K ./image

    28K ./volumes

    16K ./plugins

    16K ./docker-compose

    8.0K ./overlay2

    4.0K ./tmp

    4.0K ./swarm


    When i cd inside ./buildkit there is only this:


    104K .

    24K ./cache.db

    16K ./snapshots.db

    16K ./metadata_v2.db

    16K ./history.db

    16K ./containerdmeta.db

    8.0K ./content

    4.0K ./executor

  • cd /srv than ls,

    find the dev-disk-by-uuid-xxxx for your monyprintingmachine

    cd /srv/dev-disk-by-uuid-monyprintingmachine

    Lenovo ThinkCentre (Intel(R) Core(TM) i5-7400T CPU @ 2.40GHz | 12GiB)
    8.1.2-1 (Synchrony) | 64 bit | Linux 6.17 pve | omvextrasorg 8.0

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!