Extreme disk usage since last day, its not the logs

January 8, 2015 696 views

Well, yesterday the total of my disk usage was 24 GB only. Today its 174 gb.

I cleaned all the log files, everything is clean. Total disk usage of all the directories is only 5 GB but my system says its 174. whats up?

My system is Debian

1 comment
  • My advice: install ncdu:

    apt-get -y install ncdu

    Next, just run this:

    ncdu /

    It's a great tool to easily drill down to find the cause. You can arrow down/up or hit "enter" to drill down into a given folder.

1 Answer

Run the following (probably as root), when it completes then see /tmp/size.txt for a sorted list of the largest files and directories

du -a / | sort -n -r > /tmp/size.txt

Have another answer? Share your knowledge.