Full OS Drive

  • Getting lots of errors that my OS drive is full. My docker is going to an external drive (not my OS drive)


    I have tried clearing cache, docker system prune, omv-firstaid. The output of df shows my OS system drive is 100% but the output of ncdu -xshows the total size of all folders about 6GB (my OS drive is 20GB), so confused / can't locate where the folder taking up space?


    EDIT: Output of du -d1 -h / 


    root@omv:/# du -d1 -h /

    4.0K /export

    0 /sys

    32K /tmp

    0 /dev

    6.9M /etc

    160K /root

    50M /run

    2.8G /usr

    du: cannot access '/proc/3237/task/3237/fd/3': No such file or directory

    du: cannot access '/proc/3237/task/3237/fdinfo/3': No such file or directory

    du: cannot access '/proc/3237/fd/4': No such file or directory

    du: cannot access '/proc/3237/fdinfo/4': No such file or directory

    du: cannot read directory '/proc/3274/task/3274/net': Invalid argument

    du: cannot read directory '/proc/3274/net': Invalid argument

    du: cannot read directory '/proc/3275/task/3275/net': Invalid argument

    du: cannot read directory '/proc/3275/net': Invalid argument

    du: cannot read directory '/proc/3276/task/3276/net': Invalid argument

    du: cannot read directory '/proc/3276/net': Invalid argument

    du: cannot read directory '/proc/3277/task/3277/net': Invalid argument

    du: cannot read directory '/proc/3277/net': Invalid argument

    du: cannot read directory '/proc/3278/task/3278/net': Invalid argument

    du: cannot read directory '/proc/3278/net': Invalid argument

    0 /proc

    8.0K /media

    4.0K /config_directory

    2.4G /var

    205M /boot

    4.0K /home

    69M /opt

    16K /sharedfolders

    4.0K /mnt

    2.9T /srv

    16K /lost+found

    2.9T /

  • [How-To] Fix full OS filesystem - GUI login loop


    And continue in this thread instead of the other one

    Yes I had already gone through all of those steps. In the end, I just deleted all of my backups as somehow it is going to my root drive (even though I haven't touch OMV for a while and the external drive has plenty of space!)


    My docker goes to an external drive but I noticed in /var/lib/docker/overlay2 there appears to be a whole bunch of docker files (about 1.9GB) - I presume this can be deleted from my root drive as all docker + containers are on an external hard drive?


    Also noticed these module files some of which look old - can they be deleted?


    --- /usr/lib/modules -----------------------------------------------------------

    /..

    289.1 MiB [##########] /5.10.0-0.bpo.5-amd64

    288.9 MiB [######### ] /5.10.0-0.bpo.3-amd64

    276.7 MiB [######### ] /5.9.0-0.bpo.5-amd64

    275.5 MiB [######### ] /5.8.0-0.bpo.2-amd64

    271.8 MiB [######### ] /5.6.0-0.bpo.2-amd64

    4.3 MiB [ ] /5.5.0-0.bpo.2-amd64

    4.3 MiB [ ] /5.3.0-0.bpo.2-amd64

    4.2 MiB [ ] /4.19.0-5-amd64

    • Offizieller Beitrag

    My docker goes to an external drive but I noticed in /var/lib/docker/overlay2 there appears to be a whole bunch of docker files (about 1.9GB) - I presume this can be deleted from my root drive as all docker + containers are on an external hard drive?

    What is the output of

    docker info | grep Root


    Also noticed these module files some of which look old - can they be deleted?

    apt-get autoremove --purge

    should do

    • Offizieller Beitrag

    root@omv:~# docker info | grep Root

    Docker Root Dir: /srv/dev-disk-by-label-Chimp/AppData2/Docker

    Ok, just wanted to check, that the docker root path is not /var/lib/docker


    My docker goes to an external drive but I noticed in /var/lib/docker/overlay2 there appears to be a whole bunch of docker files (about 1.9GB) - I presume this can be deleted from my root drive as all docker + containers are on an external hard drive?

    Yes.


    Regarding the kernels: you can find instructions in the web, on how to remove unused kernels in Debian, e.g.

    https://www.tecmint.com/remove…nel-in-debian-and-ubuntu/

Jetzt mitmachen!

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