Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 05-18-2004, 01:50 PM   #1
LQ Newbie
Registered: May 2004
Posts: 1

Rep: Reputation: 0
root partition shows 100% full in RH 7.2

The root partition shows to be 100% full and after the removal of some
files under root, the usage is still at 100%. We have removed some rpm
packages that were not used and we still have the same result.
We have already tried using the du command to show file disk usage, and
can not find anything that appears out of the ordinary. We are running
Red Hat 7.2. Are there any alternatives to rebuilding the system?
Old 05-18-2004, 02:13 PM   #2
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
Do you have a separate partition for /usr? If so, removing rpm's won't help to free up space on the root partition. Type 'mount' and see if there's a line saying '/dev/xxx on /usr type ...' then you have a separate /usr partition. In that case it's probably your /tmp or /var directories that have become over-crowded.

If this is not the case and 'du' shows 100% and you're positive it's not so then the root filesystem is probably corrupted. You can find out by doing a 'e2fsck -n /dev/xxxx' where xxxx is the corresponding device name -- check the output from 'du'. Now if e2fsck complains that your partition contains errors, it's best you boot with the installation CD and start a 'rescue system' (Sorry, don't know if that is the name RedHat uses). You should get a root shell. Now since your hard disk partitions are not mounted you can safely do a repair by saying 'e2fsck -f /dev/xxxx'

Good luck! --- and don't forget to always create backups before doing this sort of things!

Old 05-18-2004, 03:24 PM   #3
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30

Is your drive partitioned all under root or do you have a diffrent layout?

If all under root then I would check /var this is normally where all your logs get stored it may be that you donīt have logrotate activated for some reason. If itīs a production system them backup logs to another machone then clean out old ones. your /tmp should be clened out by tmpwatch which normally is run buy anacron I think.

Good luck



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
partition shows full when not eroica Linux - Software 2 02-03-2005 09:01 AM
Root file system shows 100% percent utilization simplyrahul Linux - Software 1 11-26-2004 10:53 AM
Partition shows 99% full even after deleting large files other1 Linux - Newbie 4 04-19-2004 11:18 AM
partition help / 100% full JanusDay Slackware 7 02-23-2004 05:57 PM
root partition shows wrong total size Dergro Linux - General 12 10-08-2003 12:49 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:58 PM.

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