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


  Search this Thread
Old 04-01-2004, 12:25 PM   #1
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 12:35 PM.
Old 04-01-2004, 12:29 PM   #2
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Did you check /tmp?
Old 04-01-2004, 12:35 PM   #3
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, 04:25 PM   #4
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
What is the output of df -h
Old 04-01-2004, 04:32 PM   #5
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% /


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 07:28 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
Where is all my disk space going? Baryonic Being Linux - General 6 10-13-2004 08:57 AM
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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:08 AM.

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