Disk full for no apparent reason

  • OMV says my root sd card partition is almost full (see image below):



    However, I can't figure it out why. Things I've already done:


    1) Running ncdu -x /:



    2) Running docker system df (btw, my Docker stuff is on an external hard drive):

    Code
    TYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE
    Images          12        12        2.479GB   104.9MB (4%)
    Containers      12        12        891.4MB   0B (0%)
    Local Volumes   34        1         336.3kB   0B (0%)
    Build Cache     0         0         0B        0B


    So I just can't figure it out the reason at all. Any help will be appreciated, thanks.

    • Offizieller Beitrag

    Have you recently run a backup and the destination disk was not mounted?

    System Backup Typo alert: Under the Linux section the command should be sudo umount /dev/sda1 NOT sudo unmount /dev/sda1

    Backup Data Disk to Backup Disk on Same Machine: In a Scheduled Job:rsync -av --delete /srv/dev-disk-by-uuid-f8814ed9-9a5c-4e1c-8830-426968c20ea3/ /srv/dev-disk-by-uuid-e67439d5-00a3-4942-bd5f-b84ab86aa850/ Don't forget trailing slashes, and BE CAREFUL. (HT: Getting Started with OMV5)

    Equipment - Thinkserver TS140, NanoPi M4 (v.1), Odroid XU4 (Using DietPi): PiHole

  • Unmount Disks 1-4. Then look inside their mount point directories in /srv. They should be empty, but if they aren't that's your problem.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Unmount Disks 1-4. Then look inside their mount point directories in /srv. They should be empty, but if they aren't that's your problem.

    Hi, thanks for the input. I've unmounted all drivers, and after that the mount point directories have vanished.



    Code
    pi@NAS:/srv $ ls -l
    total 12
    drwxr-xr-x 2 ftp  nogroup 4096 Dec  3  2020 ftp
    drwxr-xr-x 3 root root    4096 Jul 18 00:01 pillar
    drwxr-xr-x 5 root root    4096 Jul 18 00:01 salt
    pi@NAS:/srv $

    So apparently that's not the issue.


    EDIT: LOL, I just noticed that the remaining space in root disk is now correct, as the image shows. Let me mount all drives again and see if the issue is fixed!

  • heinsenberg82

    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!