LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to free the disk space for root file system in rhel4 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-free-the-disk-space-for-root-file-system-in-rhel4-4175475446/)

bhaskar1967 09-01-2013 12:42 AM

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.

druuna 09-01-2013 03:20 AM

Quote:

Originally Posted by bhaskar1967 (Post 5019634)
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.

John VV 09-01-2013 01:41 PM

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


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