How to find and decrease File System space for Linux RAC servers
Hi,
We have recently built some RAC (OS:RHEL55) servers and after the Oracle guys have installed their application, somehow the directory / is using the maximum space. I contacted the Oracle team & they say that their RAC installation doesn't create any files in the / directory. This is the o/p of '/' directory file system: Filesystem Size Used Avail Use% Mounted on /dev/mapper/datavg-vol2 498M 382M 62M 88% / Also, when I checked the file sizes, I found that the following files were taking more space: /etc/selinux/targeted/modules/active/ -rw------ 1 root root 17M Nov1 base.linked -rw------ 1 root root 17M Nov1 base.pp The same above files are present in the directory: /etc/selinux/targeted/modules/previous/ -rw------ 1 root root 17M Nov1 base.linked -rw------ 1 root root 17M Nov1 base.pp I don't know what these files are doing there, when I did a cat and cheked, I found the files containing this data: nf_tre-- stem_dbusd_var_run_t...and some stuff like this Unable to decide whether or not to remove these files. Also, is there any way to find out what files are taking more space and whether they can be deleted or not? in order to free up some space in the / direcoty. As there are 10 RACs that we've build, I got to do something to fix this for all of the 10 servers. Any suggestions please!! Thank you in advance. |
Hi,
I've never seen such files created during Oracle RAC Installation. All Files created during Installation of Oracle software belongs to the specific user created as owner for the Oracle software and not to root. The files seems to belong to selinux. Did you try Code:
rpm -qf filename |
Hi,
Thanks for the response, I cheked whther the files are owned by any packages, but they are not! So, not geeting a cluse of why they are there..would you tell me a command to check all the files that exceed certain size for a specific file sytem (say I want to check what files in /etc/cmt are taking size beyond 5mb) Thanks again |
Hi -
1.To find files over a certain size, use "find" Code:
EXAMPLE: You control which directories get mounted in which filesystems. And you can also control SELinux behavior. SUGGESTIONS: 1. Run "find" (or "du -s" and "ls -l") to identify the specific files in question, and exactly where they live. 2. Ask Oracle again about these specific files/filepaths, and what you can do about them. |
That was very awesome. This is what I looking for. I would try and follow this so that I can get more information on what's happening. Would keep things posted.
Thank you again for the information |
All times are GMT -5. The time now is 01:07 PM. |