The filesystem is still full - Solaris 10!


 
Thread Tools Search this Thread
Operating Systems Solaris The filesystem is still full - Solaris 10!
# 1  
Old 10-27-2008
The filesystem is still full - Solaris 10!

Good morning, sir!
I've a problem with FileSystem, the problem is FileSystem is full

First time, I've already read carefully the sticky thread
FileSystem full - What to lock for
https://www.unix.com/sun-solaris/2584...what-look.html

And then, I will post some information of it

It - filesystem has name /u02, no hidden files in it, and it was to be used by Oracle_Home

Code:
$ ls -l /u02
total 26
drwxr-xr-x   2 oracle   dba          512 Mar 21  2008 TT_DB
drwxr-xr-x   3 oracle   dba          512 Mar 21  2008 app
drwxr-xr-x   2 oracle   oinstall     512 Apr  3  2008 blocktrack
drwx------   2 oracle   dba         8192 Mar 18  2008 lost+found
-rw-r--r--   1 oracle   dba         1347 Apr 16  2008 pfile.ora
$ ls -la /u02
total 32
drwxr-xr-x   6 oracle   dba          512 Oct  1 14:24 .
drwxr-xr-x  48 root     root        1536 Oct 24 15:37 ..
drwxr-xr-x   2 oracle   dba          512 Mar 21  2008 TT_DB
drwxr-xr-x   3 oracle   dba          512 Mar 21  2008 app
drwxr-xr-x   2 oracle   oinstall     512 Apr  3  2008 blocktrack
drwx------   2 oracle   dba         8192 Mar 18  2008 lost+found
-rw-r--r--   1 oracle   dba         1347 Apr 16  2008 pfile.ora

$ ls -la $ORACLE_HOME
total 3442
drwxr-x---  61 oracle   dba         1536 Sep 20 10:33 .
drwxrwx---   3 oracle   dba          512 Mar 21  2008 ..
drwxr-x---   4 oracle   dba          512 Mar 21  2008 OPatch
drwxr-x---   7 oracle   dba          512 Mar 21  2008 assistants
drwxr-xr-x   2 oracle   dba         5632 Sep 20 10:34 bin
drwxr-x---   3 oracle   dba          512 Mar 21  2008 cdata
drwxr-x---   7 oracle   dba          512 Mar 22  2008 cfgtoollogs
drwxr-x---   4 oracle   dba          512 Mar 21  2008 clone
drwxr-x---   2 oracle   dba          512 Mar 21  2008 config
drwxr-x---   6 oracle   dba          512 Mar 21  2008 crs
drwxr-x---   7 oracle   dba          512 Mar 21  2008 css
drwxr-x---  10 oracle   dba          512 Mar 21  2008 ctx
drwxr-----   3 oracle   oinstall     512 Oct 24 13:57 database_VNP
drwxr-x---   2 oracle   dba         2048 Oct 27 12:16 dbs
drwxr-x---   3 oracle   dba          512 Mar 21  2008 demo
drwxr-x---   3 oracle   dba          512 Mar 21  2008 diagnostics
drwxr-x---   3 oracle   dba          512 Mar 21  2008 has
drwxr-x---   7 oracle   dba          512 Mar 21  2008 hs
drwxr-x---   5 oracle   dba          512 Sep 19 01:37 install
-rw-r-----   1 oracle   dba           38 Mar 21  2008 install.platform
drwxr-x---   2 oracle   dba          512 Mar 21  2008 instantclient32
drwxr-x---  12 oracle   dba          512 Mar 21  2008 inventory
drwxr-x---   7 oracle   dba          512 Mar 21  2008 javavm
drwxr-x---   4 oracle   dba          512 Mar 21  2008 jdbc
drwxr-x---   7 oracle   dba          512 Mar 21  2008 jdk
drwxr-x---   2 oracle   dba         1536 Mar 21  2008 jlib
drwxr-x---   3 oracle   dba          512 Mar 21  2008 jre
drwxr-x---  13 oracle   dba          512 Mar 21  2008 ldap
drwxr-x---   3 oracle   dba         5632 Mar 21  2008 lib
drwxr-x---   4 oracle   dba         3584 Mar 21  2008 lib32
drwxr-x---   3 oracle   oinstall     512 Mar 25  2008 log
drwxr-x---   6 oracle   dba          512 Mar 21  2008 md
drwxr-x---   2 oracle   dba          512 Mar 21  2008 mesg
drwxr-x---   7 oracle   dba          512 Mar 21  2008 mgw
drwxr-x---  13 oracle   dba          512 Mar 21  2008 network
drwxr-x---   6 oracle   dba          512 Mar 21  2008 nls
drwxr-x---  15 oracle   dba          512 Mar 21  2008 oc4j
drwxr-x---   6 oracle   dba          512 Mar 21  2008 odbc
drwxr-x---   5 oracle   dba          512 Mar 21  2008 olap
drwxr-x---   7 oracle   dba          512 Mar 21  2008 opmn
-rw-r--r--   1 oracle   dba          135 Mar 21  2008 oraInst.loc
drwxr-x---   4 oracle   dba          512 Mar 21  2008 oracore
drwxr-x---   8 oracle   dba          512 Mar 21  2008 ord
drwxr-x---   7 oracle   dba          512 Mar 21  2008 oui
drwxr-x---   4 oracle   dba          512 Mar 21  2008 owm
drwxr-x---   6 oracle   dba          512 Mar 21  2008 perl
drwxr-x---   7 oracle   dba          512 Mar 21  2008 plsql
drwxr-x---   8 oracle   dba          512 Mar 21  2008 precomp
drwxr-x---   7 oracle   dba          512 Mar 21  2008 racg
drwxr-x---  14 oracle   dba          512 Mar 21  2008 rdbms
drwxr-x---   4 oracle   dba          512 Mar 21  2008 relnotes
-rwxr-xr-x   1 oracle   dba         9545 Mar 21  2008 root.sh
-rwxr-xr-x   1 oracle   dba            0 Jun  7  2005 root.sh.old
drwxr-x---   3 oracle   dba          512 Mar 21  2008 slax
drwxr-x---   3 oracle   dba          512 Mar 21  2008 sqlj
-rw-r-----   1 oracle   oinstall 1662614 Sep 23 08:03 sqlnet.log
drwxr-x---   9 oracle   dba          512 Mar 21  2008 sqlplus
drwxr-x---  13 oracle   dba          512 Mar 21  2008 srvm
drwxr-x---  13 oracle   dba          512 Mar 21  2008 sysman
drwxr-x---   3 oracle   dba          512 Mar 21  2008 tg4ifmx
drwxr-x---   3 oracle   dba          512 Mar 21  2008 tg4ingr
drwxr-x---   3 oracle   dba          512 Mar 21  2008 tg4sybs
drwxr-x---   3 oracle   dba          512 Mar 21  2008 tg4tera
drwxr-x---   4 oracle   dba          512 Mar 21  2008 uix
drwxr-x---   3 oracle   dba          512 Mar 21  2008 wwg
drwxr-x---   6 oracle   dba          512 Mar 21  2008 xdk
$

The /u02 is near full
Code:
$ df -k /u02
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d40      123930975 105097652 17594014    86%    /u02
$

Measure top_ten files and directory

Code:
$ du -kod /u02|sort -n | tail -10
35940   /u02/app/oracle/oracle/product/10.2.0/NEO/jdk/jre/lib
61657   /u02/app/oracle/oracle/product/10.2.0/NEO/javavm/admin
63746   /u02/app/oracle/oracle/product/10.2.0/NEO/sysman/jlib
66881   /u02/app/oracle/oracle/product/10.2.0/NEO/network/log
68551   /u02/app/oracle/oracle/product/10.2.0/NEO/instantclient32
93523   /u02/app/oracle/oracle/product/10.2.0/NEO/jdk/jre/lib/fonts
113711  /u02/app/oracle/oracle/product/10.2.0/NEO/assistants/dbca/templates
134446  /u02/app/oracle/oracle/product/10.2.0/NEO/lib32
249799  /u02/app/oracle/oracle/product/10.2.0/NEO/bin
429962  /u02/app/oracle/oracle/product/10.2.0/NEO/lib
$

To find some big file has size larger than 100MB

Code:
$ find /u02 -size +200000 -type f -ls
24536 115864 -rwsr-s--x   1 oracle   dba      118566408 Mar 21  2008 /u02/app/or
acle/oracle/product/10.2.0/NEO/bin/oracle
 7680 150008 -rw-r-----   1 oracle   dba      153513608 Mar 21  2008 /u02/app/or
acle/oracle/product/10.2.0/NEO/lib/libserver10.a
$ find /$ORACLE_HOME -size +200000 -type f -ls
24536 115864 -rwsr-s--x   1 oracle   dba      118566408 Mar 21  2008 //u02/app/o
racle/oracle/product/10.2.0/NEO/bin/oracle
 7680 150008 -rw-r-----   1 oracle   dba      153513608 Mar 21  2008 //u02/app/o
racle/oracle/product/10.2.0/NEO/lib/libserver10.a
$

And following the sticky_post

Code:
$ du -sk /u02
2036703 /u02
$
$ du -akd /u02 | sort -nr | more
2036703 /u02
2025286 /u02/app
2025285 /u02/app/oracle
2020121 /u02/app/oracle/oracle
2020120 /u02/app/oracle/oracle/product
2020119 /u02/app/oracle/oracle/product/10.2.0
2020118 /u02/app/oracle/oracle/product/10.2.0/NEO
430009  /u02/app/oracle/oracle/product/10.2.0/NEO/lib
249799  /u02/app/oracle/oracle/product/10.2.0/NEO/bin
176535  /u02/app/oracle/oracle/product/10.2.0/NEO/jdk
167206  /u02/app/oracle/oracle/product/10.2.0/NEO/jdk/jre
163966  /u02/app/oracle/oracle/product/10.2.0/NEO/jdk/jre/lib
150008  /u02/app/oracle/oracle/product/10.2.0/NEO/lib/libserver10.a
134490  /u02/app/oracle/oracle/product/10.2.0/NEO/lib32
118091  /u02/app/oracle/oracle/product/10.2.0/NEO/assistants
115864  /u02/app/oracle/oracle/product/10.2.0/NEO/bin/oracle
115693  /u02/app/oracle/oracle/product/10.2.0/NEO/assistants/dbca
113711  /u02/app/oracle/oracle/product/10.2.0/NEO/assistants/dbca/templates
111450  /u02/app/oracle/oracle/product/10.2.0/NEO/sysman
103127  /u02/app/oracle/oracle/product/10.2.0/NEO/oc4j
93523   /u02/app/oracle/oracle/product/10.2.0/NEO/jdk/jre/lib/fonts
93224   /u02/app/oracle/oracle/product/10.2.0/NEO/assistants/dbca/templates/Seed
_Database.dfb
89731   /u02/app/oracle/oracle/product/10.2.0/NEO/oc4j/j2ee
78162   /u02/app/oracle/oracle/product/10.2.0/NEO/jre
78161   /u02/app/oracle/oracle/product/10.2.0/NEO/jre/1.4.2
77027   /u02/app/oracle/oracle/product/10.2.0/NEO/network
--More--

The file contains output I attached with this topic.

I really do not understand why the /u02 is full?

P/S: Some weeks ago, I removed some big_files ~ 8g/per file in /u02, I think, may be the filesystem did not update information.

Thank you for your reply!

Last edited by trantuananh24hg; 10-27-2008 at 04:09 AM..
# 2  
Old 10-27-2008
There must be some processes still running which have open handles to those files that you deleted. If you stop all processes using that filesystem (see the fuser command) the space should be freed up.
# 3  
Old 10-27-2008
Quote:
Originally Posted by Annihilannic
There must be some processes still running which have open handles to those files that you deleted. If you stop all processes using that filesystem (see the fuser command) the space should be freed up.
Thank you for your reply!

I will post reply as soon as possible with my result!
# 4  
Old 10-27-2008
Please search the4 forums before posting a posible duplicate of another members question?
# 5  
Old 10-27-2008
Annihilannic is right. Pls follow his instructions mentioned.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How to resolve Filesystem Full?

I have experienced Filesystem full (%iused = 100%) as below. I have tried to remove a lot of garbage but it still become full soon. # df -F ufs -o i Filesystem       iused    ifree  %iused  Mount /dev/dsk/c0t0d0s0  512000     0   100%  / /dev/dsk/c0t0d0s3   1887   382113   0%  /cms Other... (4 Replies)
Discussion started by: SwordCar
4 Replies

2. Solaris

Filesystem Full

In our shop we have to run a batch cycle. Every so often while we are running batch we get a filesystem full situation that causes batch to stop or slow down. Anyway, the practiced procedure is to look for large files and zip them. This takes a lot of time. We are in a sun solaris environment. What... (1 Reply)
Discussion started by: Harleyrci
1 Replies

3. AIX

What is the cause of USR filesystem full

we are using aix 5.3 and we notice that the filesystem /usr is almost full. we have an oracle database running on the server.what are the cause why this filesystem is almost full.what should we do to free some space on this filesystem beside increase the size?thanks (4 Replies)
Discussion started by: paulexis
4 Replies

4. Solaris

Solaris 10 /proc making filesystem full

Hi all, I have a solaris 10 box on which /proc is a part of / The problem is that my / partition is getting full mainly due to /proc getting a lot of files. My question is : Can I delete files/directories in /proc directory. If not what could be the other way round to clean up /proc so... (18 Replies)
Discussion started by: run_time_error
18 Replies

5. UNIX for Dummies Questions & Answers

filesystem is full

Hello everybody, a very basic question. Inspite of me deleting huge files in a filesystem(AIX 5.3) in oracle folder, the filesystem when i check using df -k still shows 100% full. Does that mean there is a process still pointing to the files which i deleted. how do i work around this. Thanks!... (3 Replies)
Discussion started by: karthikosu
3 Replies

6. Red Hat

/ filesystem getting full

Hi All, How do I increase the root filesystem? It's getting full. / 90% Here's the break down, below 232 dev 5624 tmp *6764 bin 16860 root *19680 sbin *20436 lib64 28329 boot *47992 etc 150012 var *254540 lib 651708 home *2445044 usr (5 Replies)
Discussion started by: itik
5 Replies

7. AIX

filesystem is full in AIX5.3

Hi, I am new to AIX 5.3.I want to work with it and when I check the space of AIX machine..its /usr is 99% full.So I am not able to add anything in that. filesystem is as below-- So can anyone tell me how can I resize it and increase the size of it. 2nd thing,when I am trying to... (6 Replies)
Discussion started by: smartgupta
6 Replies

8. UNIX for Dummies Questions & Answers

filesystem full

my root filesystem is eventually full "/dev/rdsk/c1d0s0" as a result i cannot boot to the operating system, i booted into the fail safe mode to check the space using df -h command i discover that it is eventually full. Also to my amazement i found that i cannot see the filesystem which mounted on... (1 Reply)
Discussion started by: seyiisq
1 Replies

9. UNIX for Dummies Questions & Answers

Filesystem Full

I noticed that whenever something is printed from my workstation, the available disk space in the /dev/dsk/c0t0d0s0 decreases considerably. Hence, after using my workstation for sometime, I encounter an error message: "Filesystem Full" that prevents me from printing any further. Is there a way to... (16 Replies)
Discussion started by: ilak1008
16 Replies
Login or Register to Ask a Question