Latest LQ Deal: Linux Power User Bundle
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 01-11-2006, 11:44 AM   #1
LQ Newbie
Registered: Oct 2005
Distribution: Red Hat & Ubuntu
Posts: 3

Rep: Reputation: 0
Root partition full

I'm running Red Hat 9 on a Poweredge 4400 & my root partition is at 100 capacity.

My disk partititions are as follows:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 6.0G 5.9G 0 100% /
/dev/sdb5 20G 1.9G 17G 11% /home
/dev/sdb7 2.9G 33M 2.8G 2% /tmp
/dev/sdb6 12G 2.9G 7.8G 28% /usr
/dev/sdb1 77G 31G 43G 42% /var
none 251M 0 251M 0% /dev/shm

I do not have the ability to add an additional drive as this server has capacity for 8 drives and all bays are full. I have been moving/deleting files but have not made a dent in available space. I checked for files with large file sizes (find / -xdev -size +10000000c) and there are none. (except one - mentioned below)

The one very large file is a hidden file (.journal) in the / partition which has not been modified since 8/10/02. However I can't move the file - (access denied) even as root.
What is this file and it is possible to delete/move if dropped down to runlevel 1?

Also, would it be okay to remove all old versions of the kernel in the /boot partition?

I'm guessing this volume has a very large block size - so the files are taking up more space than they should.
Any suggestions to free up space?
Many thanks!
Old 01-11-2006, 12:36 PM   #2
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
find a large directory about 1gb or so and move it to a partition that you know won't fill up.

then in fstab you can setup a mount bind that will map the old directory to where the data was moved to.

for example say you moved /etc/cheese to /tmp/cheese

you would then have an fstab entry like:
/etc/cheese /tmp/cheese none bind 1 0
Old 01-11-2006, 01:41 PM   #3
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Pretty sure that .journal contains the journal record associated with ext3 journaling.

You could try converting / (unmounted, of course) back to ext2 and then converting the ext2 to ext3 to reestablish the journal. See the RHEL4 System Administration Guide for details:

6.4. Reverting to an ext2 File System:

6.3. Converting to an ext3 File System:
Old 01-11-2006, 01:44 PM   #4
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
Here is some more on that:

but i'm not sure that is going to free up much space.
Old 01-12-2006, 10:00 AM   #5
LQ Newbie
Registered: Oct 2005
Distribution: Red Hat & Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you both for responding!
I did try and move a few directories from / to other directories, & created a fstab entry. However, did not free up much space.
The .journal file is actually just over 3GB in size, so I know if I can move or delete it, that would solve the problem. (just wasnt' sure if it was a critical file)
This is a high volume webserver - so after hours, I will attempt to revert to the ext2 file system and see if I can delete the .journal file that way.
Or, seems the safer route might be to resize the .journal file.
Again, many thanks.


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
root partition full laan97ac Mandriva 6 07-23-2007 01:09 PM
root partition full, not sure how; where are my files? lefty.crupps MEPIS 10 01-31-2006 05:21 PM
root ('/') partition is FULL inon^ Linux - Hardware 2 08-08-2005 01:19 PM
Root partition is full, what now? Joe Soap Linux - Newbie 30 03-31-2005 11:38 AM
Root partition dangerously full HomeBrewer Linux - Newbie 2 04-27-2004 05:32 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:07 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