Ubuntu root drive running out of space, I can't find source through du or lsof
Well, it's only a guess but it may works:
I think that user once forget to mount
/media/DATA and all data was written on
/dev/sdb2 instead of
To check this, please, unmount
/media/DATA and check files and folders under this path.
I regularly use 'ncdu' for that, it's small enough to still get it installed.
sudo apt-get install ncdu
Just make sure you run it as root or via sudo:
sudo ncdu /
When you want to know where space is being used in a particular filesystem, you can use this command to find the 20 largest directories, which can help you locate where the most space is used,
du -m / |sort -n |tail -20
But the root filesystem is more difficult, because all filesystems are mounted to root. But the -x (--one-file-system) argument will report only the desired filesystem,
du -m -x / |sort -n |tail -20