Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
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
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?
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
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.
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.