OMV and df reports system disk is full but du reports otherwise

  • Hi,


    I have OMV 5 running on an old PC (AMD A10-7700K, 8GB) with a 240GB SSD for the OS and 8TB for data in RAID-5 (3+1 spare).


    Recently I noticed that the system reports that my SSD is full.

    Running df -h indeed shows the root /dev/sda1 to be full.


    But running du -hx -d 1 --exclude=/proc / shows what I expect for the OS to be.


    To me the problem seems to be /sharedfolders which are the Samba shares from my data raid.

    As when I run du -h -d 1 --exclude=/proc / I get:

    In /srv is the mount point for the data RAID.


    A side effect of this is that I can not open OMV web UI.


    What should I do to make OMV see the correct disk usage?


    Thanks in advance.

  • Did you upgraded from OMV4?

    /sharedfolders were deprecated on OMV5.


    You need to check your docker containers to see if any is still pointing to /sharedfolders.

    Plex maybe?!?


    docker ps -a

    docker system df

  • Yes I upgraded from OMv4 a few months ago.

    I moved my docker directory to a folder on the raid. and used /sharedfolders/docker should I have used /srv/dev-disk-by-label-data/?


    I don't have Plex running just Portainer, Jellyfin, lancachenet & netdata.

  • This is my docker usage.

    Code
    root@omvserver:~# docker system df
    TYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE
    Images          7         7         2.417GB   507.7MB (21%)
    Containers      7         7         38.11MB   0B (0%)
    Local Volumes   4         4         508.5kB   0B (0%)
    Build Cache     0         0         0B        0B
  • Fixed.


    I moved folders that where created manually in /sharedfolders to the new mount point and then unmounted all mount points with /sharedfolders and deleted whatever was left there....

  • ckannas

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

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