Red HatThis forum is for the discussion of Red Hat Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi:
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!
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.