Today I went to install updates on my OMV box, and found that my root (/) partition was completely full. It is about 29GB and is "physically" the majority of the space on a 32gb EMMC card in an ODROID XU4. When I run a simple "df -h" from the root folder, I find the following (note that this is after I cleared up a little bit of space on it):
Filesystem Size Used Avail Use% Mounted on/dev/mmcblk0p2 29G 28G 410M 99% /udev 10M 0 10M 0% /devtmpfs 399M 6.8M 392M 2% /runtmpfs 996M 8.0K 996M 1% /dev/shmtmpfs 5.0M 0 5.0M 0% /run/locktmpfs 996M 0 996M 0% /sys/fs/cgrouptmpfs 996M 8.0K 996M 1% /tmp5a90f259-21b0-4de9-8b75-3b0d173162ce:82342386-dd77-464b-bd8b-ba3ef9c26bb4 5.4T 1.8T 3.6T 34% /export/Share/dev/mmcblk0p1 71M 32M 40M 44% /boot/dev/sda1 2.7T 1.9T 905G 68% /media/dac85fc4-9594-4bdd-877e-bd111753339c/dev/sdb1 2.7T 1.8T 909G 67% /media/5a90f259-21b0-4de9-8b75-3b0d173162ce /dev/sdc1 2.7T 189M 2.7T 1% /media/82342386-dd77-464b-bd8b-ba3ef9c26bb4
However, when I use a du command (excluding the external storage, returning just the top 25 items, I can only account for about 3GB (even if I include everything, it doesn't go up but about .1 GB), which is about what I'd expect as I don't really use a lot of disk space on that partition for anything.
root@trunks:/# du --exclude=media --exclude=export -ch -d 10 | sort -hr | head -n25du: cannot access ‘./proc/17757/task/17757/fd/4’: No such file or directorydu: cannot access ‘./proc/17757/task/17757/fdinfo/4’: No such file or directorydu: cannot access ‘./proc/17757/fd/4’: No such file or directorydu: cannot access ‘./proc/17757/fdinfo/4’: No such file or directory3.0G total3.0G .1.5G ./usr796M ./var728M ./var/lib668M ./root566M ./usr/share551M ./usr/lib523M ./var/lib/plexmediaserver/Library/Application Support/Plex Media Server523M ./var/lib/plexmediaserver/Library/Application Support523M ./var/lib/plexmediaserver/Library523M ./var/lib/plexmediaserver366M ./root/go1.5265M ./root/go1.4239M ./usr/lib/arm-linux-gnueabihf201M ./usr/local/go201M ./usr/local193M ./var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata178M ./var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Movies174M ./var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost174M ./var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media164M ./usr/lib/plexmediaserver163M ./root/go1.5/pkg146M ./root/go1.5/.git/objects/pack146M ./root/go1.5/.git/objectsI wondered a little bit about the lines from the du that indicate it can't access certain files in /proc, so I thought maybe they were hung processes that were holding a bunch of disk space, but I tried rebooting the server and nothing changed. I guess I"m just a little bit stumped and hoping for any suggestions.