Removing Linux server files to reclaim disk space:


Removing Linux server files to reclaim disk space:

Issue/Symptom/Question

Is there anything I can do to clean up drives? Is there any old data or testing data that I can clean up on these drives?

Environment

Linux Server

Must have root privileges

Resolution/Fix/Answer

The Linux server should be monitored for extraneous files that can be removed.  Common directories that could have files that can be removed are:

Filesystem /

Filesystem /tmp 

Filesystem /u01

  • Check the oracle crontab for a script called dba.sh.  This script cleans up old trace and log files. If it does not exist, please open a Service Desk ticket and reference this article.

Filesystem /u02

  • The database files are located in this directory tree. Look for old cold backup tar files.

Filesystem /u03 and/or /u04

  • Look for old cold backup tar files. 
  • Look for old Oracle RMAN backup files.

If you did not find files that can be removed, you may need to add additional disk space to the directory.

If this is something you have not done before or you do not have root user privileges, please open a Service Desk ticket and reference this ticket.

Related content