LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux 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
 
Search this Thread
Old 04-01-2004, 11:25 AM   #1
stalefish
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Disk Space


Ok I have a linux (slackware 9.1) box that has an 18gb drive in it. Yesterday df -h reported 3.4 gb of used space. Last night I was trying to burn a cd with k3b and the app hung all night, this morning the cd wasn't burned and the app was frozen. I killed the app and tried to restart it only to get a disk full message. So I started digging. I du'ed all the folders on / and this is what I came up with.

/bin = 6mb
/boot = 3mb
/dev = 352kb
/etc = 39mb
/home = 216mb
/lib = 21mb
/lost+found = 16kb
/opt = 357mb
/proc = 525mb
/root = 48mb
/sbin = 8mb
/usr = 2.5gb
/tmp = 92kb

Ok by my elemetary math I say that is nowhere near 18gb! I also ran this... just to see if there were any huge files laying around.

find /* -size +1000000 -print

To find any files over 1gb. No hits.

Where the hell is my disk space or why is df -h displaying the wrong info? Can anyone help me figure out what happened to my disk space?

Last edited by stalefish; 04-01-2004 at 11:35 AM.
 
Old 04-01-2004, 11:29 AM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Did you check /tmp?
 
Old 04-01-2004, 11:35 AM   #3
stalefish
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
yup 92kb sorry that was omitted in my original post, I'll add it.
 
Old 04-01-2004, 03:25 PM   #4
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
What is the output of df -h
 
Old 04-01-2004, 03:32 PM   #5
stalefish
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I got it fixed. Thanks for the replies.

Here's what I did.

touch /etc/forcefsck && reboot

When it was done rebooting everything was back in order.

root@slacky:/etc# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 18G 3.2G 14G 19% /
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Space Verbal Kint Linux - General 2 05-26-2005 06:28 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Where is all my disk space going? Baryonic Being Linux - General 6 10-13-2004 07:57 AM
Disk Space? Gerardoj Linux - General 4 05-28-2003 12:11 AM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 03:41 PM


All times are GMT -5. The time now is 09:39 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration