Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unix admin question - file system is filling up

Dan AJul 15 2008 — edited Jul 15 2008
Oracle 9.2.0.1.0
UNIX AIX 5.2

The oracli3 filesystem was hitting the upper 90%s and I informaed the DBA. Learning from him is just leaning over his shoulder scribbling down as much as I can see while he thrashes through it.

I gleaned some things today that I wanted to check with tthe UNIX pros out there.

As I explained, that particular filesystem was filling up, and so he made some searches, first in the /patches directory. There were not too many there (in size), so he next went to /oracli1/oracle/iAS and did a search for logs like this:
sudo find . -name '*.log' -ls

He found one huge log file, and so had me do the cat /dev/null > command to send it to the black hole.

My question is this - when I next see that we are filling up as it were, should I automatically look for logs? Are they the culprits some of the time? Can offending logs be dealt with in this way (cat /dev/null >) ?

Is there something else I should be looking for ? (The oracli3 is now at 93% so I think we still have things to look at)

Many thanks.
DA

Sorry - one other thing - when I use the
find . -name '*.log' -ls command, how can I change it so that the output is more like that of the "more" suffix? The problem is that I would like to scroll through the output of .log files that this command throws back at me.

Message was edited by:
Dan A
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 12 2008
Added on Jul 15 2008
4 comments
503 views