LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-31-2006, 09:56 PM   #1
CPUNeck
LQ Newbie
 
Registered: Jun 2001
Location: Atlanta, GA
Distribution: Mandrake 10.2
Posts: 9

Rep: Reputation: 0
Unhappy root partition 100% used, frustrated Microshaft transplant


This new OS is taking some getting use to! Second time I've managed this (first was on VMWare ESX). I don't even know how to find the freakin files that are hoggin up the space.

df -h
/dev/hda1 5.8G 5.6G 0 100% /
/dev/hda6 67G 8.3G 59G 13% /home
**end**

Please help, this stuff is grinding on me, I'm suffering from sleep depervation and this ain't helpin. Thanks
 
Old 01-31-2006, 09:56 PM   #2
CPUNeck
LQ Newbie
 
Registered: Jun 2001
Location: Atlanta, GA
Distribution: Mandrake 10.2
Posts: 9

Original Poster
Rep: Reputation: 0
Unhappy root partition 100% used, frustrated Microshaft transplant

This new OS is taking some getting use to! Second time I've managed this (first was on VMWare ESX). I don't even know how to find the freakin files that are hoggin up the space.

df -h
/dev/hda1 5.8G 5.6G 0 100% /
/dev/hda6 67G 8.3G 59G 13% /home
**end**

Please help, this stuff is grinding on me, I'm suffering from sleep depervation and this ain't helpin. Thanks
 
Old 01-31-2006, 10:35 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,677

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
OK, calm, one step at a time.
What distro are you using? RH7.2 in your bio? What option in the installation--eg did you tell it to install everything.
Have you put a lot of data files on this machine, or is it a new install?

df -h is puzzling--where are the other partitions? Can we see output from fdisk -l?

To find the "freakin files", go into any directory and type ls -l
 
Old 01-31-2006, 10:36 PM   #4
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, RedHat/CentOS, Fedora
Posts: 609

Rep: Reputation: 30
Just like in Windows, I suggest cleaning up the /tmp directory (don't delete any non-standard files, though). I also suggest removing some packages you don't use (e.g. if you use Gnome remove KDE and vice versa).

Also check the /var directory, /var/spool in particular. If you're running sendmail (SMTP server) and it's not configured properly, chances are spammers are knocking on your server and filling up your mail queue with garbage (/var/spool/mqueue and /var/spool/clientmqueue). Also check /var/log for any large logfiles you no longer need.

Any idea how you managed to fill up the root partition in the first place?
 
Old 01-31-2006, 11:11 PM   #5
J.W.
Guru
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 67
If you're looking for files that are using over "X" amount space, you can:
Code:
find -size +ns
where "n" is a number and "s" is the denomination. To illustrate "find -size +5M" will generate a listing of all files larger then 5Mg. See the man pages for find for more info. Good luck with it
 
Old 02-01-2006, 07:20 AM   #6
mdkuser99
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 13

Rep: Reputation: 0
Use konquerer FSView to find large files

If you run konquerer (KDE file/web browser) it has a mode called FSView which gives a graphical display of file sizes (shows files as rectangles with the area proportional to file size). However, if you do this on a the root directory of a 5.6G disk, this is going to take a long time.

Another command to check disk usage is "du -sh directory_name" which give the disk usage of a particular directory tree. You might check if some log file has gone crazy (sometimes if there are repeating errors thousands of mesages may get written to a log file). Look in /var/log.
 
Old 02-01-2006, 08:26 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,677

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
Duplicate threads--each with different answers. Neither has OP responses to our requests for more info. This is not going well.....
 
Old 02-01-2006, 08:57 AM   #8
CPUNeck
LQ Newbie
 
Registered: Jun 2001
Location: Atlanta, GA
Distribution: Mandrake 10.2
Posts: 9

Original Poster
Rep: Reputation: 0
Angry

Thanks for the replys, couple new commands to add to trick bag. Seems my "trash" was full wtf? I did delete some large files from the graphical interface (no I didn't drag-n-drop to the trash can, just select and delete. I suppose delete can have more than one meaning. (sorry for the rant....)

I found my /home directory was over 3.xG! Using the winSCP found a trash folder in a tmp folder in there somewhere and sure enough there was all my attempted file deletes. What is the deal? I need to learn some basics cause me and the family is going to STARVE if it takes my 3-6 hours to figure out why I'm out of disk space. Again if you guys have suggestions for me, by all means pls show me the way
 
Old 02-01-2006, 11:54 AM   #9
CPUNeck
LQ Newbie
 
Registered: Jun 2001
Location: Atlanta, GA
Distribution: Mandrake 10.2
Posts: 9

Original Poster
Rep: Reputation: 0
Hmmm... I just checked back on the status on this thread and there was more responses. More than I saw this AM. Not sure what's up there, I was a bit on err... over the edge last night and got click happy (double posted) tried to delete one of them but couldn't. Also didn't realize my bio was so out of date, it's updated now and I've some ZZZZ's under my belt.

I didn't post some requested info earlier (didn't see the responses, so here it is):


Quote:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 764 6136798+ 83 Linux
/dev/hda2 765 9726 71987265 5 Extended
/dev/hda5 765 904 1124518+ 82 Linux swap
/dev/hda6 905 9726 70862683+ 83 Linux
 
Old 02-03-2006, 04:04 AM   #10
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
My first suggestion would be to reinstall using a larger partition for your root partition. You have only provided 5.8GB for the root partition. I would double that. I always use 12 GB for the root partition.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microshaft angry at Google ctkroeker General 1 09-04-2005 05:25 PM
Frustrated Newbie: Mouse doesn't start on boot & can't logon except as root. SuSE 9.3 archiesmiley Linux - Newbie 2 06-09-2005 02:37 PM
Linux Transplant MikeZila Linux - Hardware 2 12-15-2004 11:07 PM
root partition shows 100% full in RH 7.2 dmcmurray5 Red Hat 2 05-18-2004 03:24 PM
Mounting Windows Partition. Frustrated!!! jsin Linux - Newbie 10 08-14-2003 07:49 AM


All times are GMT -5. The time now is 03:04 AM.

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