Results 1 to 4 of 4
Hello all
Suddenly my disk that contains everything but the home dirs and which is usually only approx 9% full is now 100 % full...
Any suggestions on how to ...
- 02-22-2010 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 46
[SOLVED] disk space being hogged!!!
Hello all
Suddenly my disk that contains everything but the home dirs and which is usually only approx 9% full is now 100 % full...
Any suggestions on how to find how this has happened? How can i find the largest files minus the mounted dirs which are on other disks?
Thanks in advance
t
- 02-22-2010 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Google: bash disk hogs
There are simple to advanced solutions.
A simple one:
Look over the dir's in the root and move down from there - repeating the commands needed. If /var is taking more space than expected:Code:du -s /* | sort -nr
And continue on...Code:du -s /var/* | sort -nr
- 02-22-2010 #3
A better solution than iterating with du over and over is ncdu
NCurses Disk Usage
It
- iterates only ones (thus saving IO and time)
- sorts by size
- lets you naviagte back and forth through the directories
- you can even delete dirs within itYou must always face the curtain with a bow.
- 02-22-2010 #4Just Joined!
- Join Date
- Jan 2008
- Posts
- 46
Sorted...i did something silly! Thanks for your help Irithori and HROAdmin26...


