LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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

Reply
 
Thread Tools
Old 02-14-2006, 06:56 PM   #1
rhbgames
LQ Newbie
 
Registered: Feb 2004
Posts: 6
Thanked: 0
Avail disk space always goes to zero....


[Log in to get rid of this advertisement]
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.

Thanks so much for any help in advance!
RB
rhbgames is offline     Reply With Quote
Old 02-14-2006, 07:18 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :}
Posts: 18,838
Blog Entries: 1
Thanked: 160
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.


Cheers,
Tink
Tinkster is offline     Reply With Quote
Old 02-14-2006, 07:20 PM   #3
rhbgames
LQ Newbie
 
Registered: Feb 2004
Posts: 6
Thanked: 0

Original Poster
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!

RB
rhbgames is offline     Reply With Quote
Old 02-14-2006, 10:26 PM   #4
rhbgames
LQ Newbie
 
Registered: Feb 2004
Posts: 6
Thanked: 0

Original Poster
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 ).

RB
rhbgames is offline     Reply With Quote
Old 02-14-2006, 11:49 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :}
Posts: 18,838
Blog Entries: 1
Thanked: 160
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...


Cheers,
Tink
Tinkster is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
-clear-avail and --merge-avail meks-r Debian 0 04-28-2005 03:14 PM
AA says not enough space avail? Battlefield Linux - Games 1 01-02-2005 02:22 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM
Disk Space? Gerardoj Linux - General 4 05-28-2003 01:11 AM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 04:41 PM


All times are GMT -5. The time now is 11:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration