No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ-How to clean the disk space of U2000

Publication Date:  2012-07-25 Views:  46 Downloads:  0
Issue Description
Q:
The U2000/server have full, how to clean the useless files to clean the space.
Alarm Information
Null
Handling Process
A:

1) Delete the useless dump files

The default patch is /U2000/server/dump. we can delete the useless dump filesin every subdirectory.

2) Delete the useless logs

Delete the useless *.gz files in /U2000/server/log/
Delete the useless *.gz files and *.log files in  every subdirectory in /U2000/server/log/Develop
Delete the useless *.gz files and *.log files in /U2000/server/var/logs/mrblogs

3) Delete the useless database backup files, the path will be configure when you do the databse backup

4) Delete the useless filles such as in the install software, patch software

5) Check whether you have open the core switch as follows:

root@Site59 # coreadm
     global core file pattern: /opt/core.%f.%p.%t
     global core file content: default
       init core file pattern: core.%f.%p.%t
       init core file content: default
            global core dumps: enabled
       per-process core dumps: enabled
      global setid core dumps: enabled
 per-process setid core dumps: enabled
     global core dump logging: enabled

We can see the core dumps is enable. It is means the core switch is open, and the patch is /opt.
We can delete the core file core.* in /opt.


Root Cause
Null
Suggestions
In Solaris OS, we can use the command du -sLh * to list the size of every subdirectory. 
root@Site59 # cd /opt/
root@Site59 # du -sLh *
……
 3.9M   EBT_PATCH.tar
 1.4G   HWENGR
  45M   HWENGR_bak_20111123111203
……
 4.3G   SPC100_install
 948K   SUNWits
 242M   SUNWmlib
 532K   SUNWrtvc
 5.0G   U2000
 5.5M   UEasy
 ……
 9.5G   sybase

END