Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am running SuSE 9.0 and have a little UNIX experience from long long ago. Today I found that my system was out of space. The drive is small, so no surprise. I deleted 100MB and ten minutes later out of space. I keep deleting and within minutes the gains are gone. Furthermore, I can't find where the space is going - tried find, du, df but still no clue.
Now the big mystery is that as root, I did a du -s * at the top level directory (/). And I can only account for 3.2GB of the 6GB drive, and that is counting the "fake" space in /proc. My swap file is .5GB.
I have tried to find a runaway process but there is nothing obvious. I am running Apache, mysql, JBoss, but those systems do not have any users.
I was planning to add a new disk (I even have one right next to me), but I want to solve this mystery first.
You may have a problem with some log-file that has been
deleted while it was still written to. In that case, try
switching to run-level one which will turn of all non-essential
stuff (which then should free the space). The thing with
that kind of usage is that the ls command won't find anything,
but the inodes are still occupied.
Thanks for the quick reply. I think I know how to do that from YaST, so I will do that tonight as soon as I get to the system and see how it goes. Thanks again!
Using the expert mode in YaST I set the default run level to 1 and restarted. When the system came back up, it was still in default run level 5, but the good news is that all the disk space was restored - I have 2.5GB available. I don't know if it was the run level change or simply the restart, but the problem is resolved.
Thank you so much for the super fast and helpful response. Now my next challenge will be to install a new hard drive . I think the last time I did this on a UNIX system, the standard drive was 71MB (yes, MB ).
Hehe ... glad I got you in the right direction; just remember to watch
that behaviour, and next time before you start deleting files try to
observe which ones are growing ;}
And as for the size: wow :}
We only just retired an AIX box that had a 1GB HDD in it for an OS
(AIX 4.3) and a database...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.