LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2013, 12:42 AM   #1
bhaskar1967
LQ Newbie
 
Registered: Sep 2013
Posts: 1

Rep: Reputation: Disabled
Smile how to free the disk space for root file system in rhel4


Dear Sir,

I am using RHEL 4.0 and my system and when I thpe df it si showing root file system usage is 100% .Please tell me in which directories I should delete the files for my smooth operation.
 
Old 09-01-2013, 03:20 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by bhaskar1967 View Post
Dear Sir,

I am using RHEL 4.0 and my system and when I thpe df it si showing root file system usage is 100% .Please tell me in which directories I should delete the files for my smooth operation.
RHEL 4.0 is really, really old and shouldn't be used any more. Either install a recent RHEL version (assuming you have a paid for subscription) or install a recent CentOS/Scientific Linux version.

About your disk space question: We cannot tell you what needs to be deleted, only you know what is important and what is not.

I would have a look in /var/log and see if there are any old log files that take up too much space and can be deleted.

You can run the following command to see which files are big:
Code:
du -ah /var | sort -n -r | head -n 25
The above command looks inside the /var directory and lists the top 25 "big" files.

I already zoomed in to /var, you could also run the above with / instead of /var but that might take a while to run.

For both I would suggest running the commands as root user.
 
1 members found this post helpful.
Old 09-01-2013, 01:41 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
RHEL4.0 is not supported and is VERY out of date
it came out in February of 2005

the ONLY version of the very old "4" that is still in support is RHEL 4.9
and that is on EXTRA extended life support
and you do have to pay redhat extra for it

as above
the /var/log folder is often one of the causes
that and the "tmp" folder
 
  


Reply



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
How is the minimum file system free space decided? catkin Linux - General 8 08-06-2013 08:34 AM
Search for file in path and print blocks of free disk space in C? nickjomaffa Programming 2 01-31-2012 10:57 PM
File system root low disk space prickee Ubuntu 6 11-20-2009 04:06 AM
System failed due to lack of free disk space une Mandriva 18 09-26-2007 05:56 AM
/root/.xsession-errors is taking up the entire free space on disk! Freeek Linux - General 5 10-06-2003 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:21 AM.

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