OMV System Disk Full

  • So, my system SSD disk is 20GB, and I have a 3X2tb storage disks in ZFS raid. I have 28 docker container services. I get this error notification every day in my mail:


    Code
    Event:       Resource limit matched
    Description: space usage 90.0% matches resource limit [space usage > 90.0%]
    
    This triggered the monitoring system to: alert

    How to find out what's taking up all my SSD storage?


    Also, can swap usage cause this? I have 8GB of ram. Here's a screenshot:

    https://prnt.sc/5bCrNfbnoRt-

    Ram:

    https://prnt.sc/M2W7u-bp9dd-

    https://prnt.sc/b35VJkwzx6p6

    • Offizieller Beitrag

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • so docker is using half of your space. Bow find the rest.

    Old kernels another 1 gb


    Start from the top and post the output of the du command in code boxes, not screen shots

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.


  • Can I delete those old kernels?

  • images is only minimal .

    What containers do you have running?


    You could try docker system df to find out how the space is used and docker system prune to delete all not related to running containers. For the later make sure all containers you need are running.


    But what about the other disk space?

    Is it used in /var/log ?

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Code
    root@openmediavault:/var/lib/docker# docker image prune -a
    WARNING! This will remove all images without at least one container associated to them.
    Are you sure you want to continue? [y/N] y
    Total reclaimed space: 0B
    Zitat

    Is it used in /var/log ?

    1%.


    I think the docker folder is the problem here. Since I don't want to mess everything up, I will have to clone the drive to a bigger ssd. I have one laying around.

  • The overlay folder is too large, some of yur containers is writing into the read-write layer. If you recreate the container, the problem should vanish.

    But you need to configure the container properly, so it does not happen again.


    But you didn't answer all the questions form #7


    docker system df

    docker system prune


    du -xhd 1 /

    du -xhd /var


    What conatiners are running and how did you configure them? If it was portainer stacke, go to the stack and recreate it.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • I have 28 containers. Here are they:

    https://prnt.sc/Xmw4XLpq95RG

    I use watchtower to update my dockers and it's set up to delete old images.


    Zitat

    and how did you configure them?

    I don't know what do you mean by this.


    Code
    root@openmediavault:/# docker system df
    TYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE
    Images          28        28        7.41GB    246.1MB (3%)
    Containers      28        25        1.637GB   3.778MB (0%)
    Local Volumes   7         7         322.6MB   0B (0%)
    Build Cache     0         0         0B        0B




    Code
    root@openmediavault:/var# du -xhd1
    1.7M    ./backups
    4.0K    ./opt
    4.0K    ./local
    10G     ./lib
    871M    ./cache
    6.9M    ./www
    43M     ./folder2ram
    4.0K    ./mail
    11G     .

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!