Root partition filling up

I always fall back to an old-fashioned du -shx /* to see which of the directories in the root are taking up all the space. Then you can drill down with, for instance, du -shx /var/* to find the culprit. It could be an app storing things in the root when they’re not supposed to, or logs or coredump or who knows what. It’d be good to have an idea of usual suspects of this, as it’s a fairly common problem.

4 Likes