LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-02-2008, 08:18 AM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
hard disk space analysis


Dear friends,

I have just installed a RHEL4 on a 10gig partition (/boot=100mb,swap=2gig, /=7.8gig). Problem encountered when i realised the 7.8gig disk space of / was filled up 100%. It was weird that the disk space get filled up so quickly. Anyway, i tried to figure out what has filled up the space quickly. I did a du -sh on all folders under /, yet i only get 3.6GIG total size of under /. Meaning, there should be 4.2GIG of disk space free from use, but it says 7.8 has been 100% filled up, i am just wondering where has that space been filled? since i believe everything should be under /, i have du -sh all the folders under / (such as /etc, /var, /boot) yet only get 3.6GIG total of those folders...

anyone know if there is something else that can take up the space?
thanks for taking time helping.

regards
y
 
Old 05-02-2008, 08:34 AM   #2
kav
Member
 
Registered: May 2006
Location: USA
Distribution: FreeBSD Ubuntu Debian
Posts: 137

Rep: Reputation: 15
This one time I accidentally downloaded something into /root (oops, should have logged out of root.) I stopped the download before it even reached 1MB, but for some reason the file system thought it was the full 700MB that it should have been. Consequently I could not write anything to that partition until I deleted that partial file.

The best method I've come up with for tracking down where my space goes is doing a $ du -h / > disk_usage (without the -s) then studying where all the space went the hard way ($ less disk_usage). I've had to do it a few times to see where the heck my space went. Yeah it's tedious since it takes a while to read it all, but you should be able to find where your free space went if you study the output carefully.
 
Old 05-03-2008, 10:18 AM   #3
PMorph
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 213

Rep: Reputation: 31
Tools like "Baobab" can be of some help too.
 
Old 05-04-2008, 01:20 AM   #4
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
thanks a lot guys!
 
  


Reply



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
Problem with freeing disk space on a two hard disk Fedora Core 4 box favadalikhan Linux - Server 1 04-29-2008 09:04 PM
Hard disk space mcanallyd Linux - Newbie 2 04-12-2006 07:36 AM
Hard disk space shaahul Linux - Newbie 1 08-25-2003 10:48 AM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 03:41 PM
space in hard disk jaac Linux - Software 3 11-13-2001 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration