Question

Extreme disk usage since last day, its not the logs

  • Posted January 8, 2015

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

Subscribe
Share

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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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