Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-29-2010, 09:29 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 23

Rep: Reputation: 0
How to find and decrease File System space for Linux RAC servers


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:


-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:


-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:
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.
Old 12-29-2010, 11:20 AM   #2
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137

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
rpm  -qf filename
to check which pakets the files are part of.

Last edited by mesiol; 12-29-2010 at 11:21 AM.
Old 12-29-2010, 11:50 AM   #3
LQ Newbie
Registered: Jul 2008
Posts: 23

Original Poster
Rep: Reputation: 0
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
Old 12-29-2010, 12:00 PM   #4
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1.To find files over a certain size, use "find"
find -name "*" -size +1000k
2. Remember: Oracle isn't necessarily creating files in the "/" directory, but it is probably creating these files in the "root" filesystem. Perhaps the Oracle team was confused about your question?

You control which directories get mounted in which filesystems.

And you can also control SELinux behavior.

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.

Last edited by paulsm4; 12-29-2010 at 02:24 PM.
Old 12-29-2010, 02:08 PM   #5
LQ Newbie
Registered: Jul 2008
Posts: 23

Original Poster
Rep: Reputation: 0
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
commands to find type,mountPoint, file system id for the filesystems in a linux suryashikha Linux - Newbie 4 01-13-2010 07:15 PM
c++ - how to find first file in directory in linux system babag Programming 4 05-24-2008 12:16 AM
file system encryption on servers Synesthesia Linux - Security 2 06-05-2006 05:03 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 08:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration