Rootvol above threshold


 
Thread Tools Search this Thread
Operating Systems Solaris Rootvol above threshold
# 1  
Old 02-16-2011
Rootvol above threshold

Hi there,
Root filesystem is above threshold, I have search and cleared unwanted files which are filling up space. But the root fs is still above threshold.
I don't know about veritas volume management. Can anyone show me how to solve this. Du shows /proc is occupying a lot of space. Most of the process ids are oracle processes. Can anyone provide assistance?

# df -h
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/bootdg/rootvol
7.9G 7.0G 795M 91% /
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 7.0G 795M 91% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 7.0G 795M 91% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/vx/dsk/bootdg/var
4.9G 808M 4.1G 17% /var
...
/dev/vx/dsk/bootdg/u01
4.9G 3.8G 1.1G 77% /u01
/dev/vx/dsk/bootdg/IN
40G 3.2G 37G 9% /IN
/dev/vx/dsk/ora-dg/ora_data
60G 25G 35G 42% /data

# du -sk * | sort -nr | head
219843482 proc
25790376 data
6235549 usr
3928171 u01
3346203 IN
829981 opt
822167 var
113685 etc
80160 tmp
72401 kernel

# cd /proc
# du -sk * | sort -nr | head
27066677 1486
25421117 1484
25382765 1488
25373110 1490
23289381 12493
14171990 1494
9867208 6770
9867208 6769
5975724 7408
4129901 1768

# for prcs in `du -sk * | sort -nr | head | grep -v grep | awk '{print $2}'`
> do ps -ef| grep $prcs | grep -v grep
> sleep 3
> done
oracle 1486 1 0 Apr 04 ? 76:45 ora_lgwr_SCP
oracle 1484 1 0 Apr 04 ? 103:35 ora_dbw0_SCP
oracle 1488 1 0 Apr 04 ? 685:17 ora_ckpt_SCP
oracle 1490 1 0 Apr 04 ? 36:26 ora_smon_SCP
oracle 12493 12463 0 Sep 30 ? 77:19 oracleSCP (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 1494 1 0 Apr 04 ? 58:27 ora_mmon_SCP
oracle 6770 6739 0 Jan 28 ? 56:47 oracleSCP (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 6769 6740 0 Jan 28 ? 14:59 oracleSCP (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 7408 1 0 21:30:49 ? 0:17 ora_cjq0_SCP
oracle 1768 1605 0 Apr 04 ? 1:26 oracleSCP (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
# 2  
Old 02-17-2011
You are exploring the wrong area. The fact /proc is reporting it uses 219 GB while your root partition size is 7.9 GB should have given a clue to you. Forget about /proc which uses no space on disk anyway.
I suspect you cleared files which were open by running processes. The size they use on disk won't be recovered as long as the processes are alive. The simplest way would be to either restart the services using the cleared files or to simply reboot the server.
However, /usr is using 6.2 out of 7.9 GB. If you still need to recover space after rebooting the server, I'm afraid you'll have to either remove unused packages or relocate them. Beware that both options are risky.

Last edited by jlliagre; 02-17-2011 at 02:07 AM..
# 3  
Old 02-17-2011
MySQL Solved

Thank you for your assistance. You are right I was looking at the wrong place. Space is now reclaimed after clearing some files from application directory.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Determine threshold for CPU

I'm writing an application that should display whether a system is running “fine” (normal activity) or if it has reached a critical level and thus indicate through a graphical interface using a green-yellow-red color scheme. The server machines in question are running AIX (but it shouldn't differ... (4 Replies)
Discussion started by: ttl_aix
4 Replies

2. UNIX for Advanced & Expert Users

Threshold for open connections

Hey guys, We've been having issues on one of our CentOS 6 servers and one of the java programs that runs on it. As the software hasn't caused issues in the past, I'm wondering if its a problem with the CentOS server. Basically, the software drops it's tcp connection and won't reconnect,... (5 Replies)
Discussion started by: jimbob01
5 Replies

3. UNIX for Dummies Questions & Answers

Threshold for swap memory

hi guys the monitoring team is using a tool for monitoring linux boxes and they set an alarm for swap memory to 10%(critical) I really has no idea when swap memory usage is high.... Can someone recommend me a threshold for this? when is warning or critical and this parameters can affect... (3 Replies)
Discussion started by: karlochacon
3 Replies

4. Shell Programming and Scripting

Diff two files with threshold value

i have two big file which have thousand of line. i have to sort on two key fields then diff the file. if the interger value of one of the column is less then or greater then 1 it should ignore it. for example File1 abc|7000|jhon|2.3 xyz|9000|sam|6.7 pqr|8000|kapi|4.6 File2... (11 Replies)
Discussion started by: Nishi2011
11 Replies

5. Shell Programming and Scripting

get mail when matching with threshold value

HI Guys Below is my file structure and now I want if % is equal and above 95% then I will get the mail with the name of that filesystem and threshold value. Is someone help me ? 55G 33G 22G 61% /mnt/projects/stp2int4_web_runtime 16G 14G 1.7G 90%... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies

6. UNIX for Dummies Questions & Answers

threshold

Hi, I have a table with 14 columns. How can I filter the columns 2-14, so that I get only those rows back in which the data values are >= 6 in 5 or more columns. :confused: E.g. A 6 6 3 6 7 8 B 1 2 3 4 5 5 C 2 2 2 6 7 8 Here I should only get back the row A. I would like to work from... (5 Replies)
Discussion started by: danieladna
5 Replies

7. UNIX for Advanced & Expert Users

Quota threshold

Hi, I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold. I have made a script for it but I am facing an error while executing it. Could any one here guide me further?? Script #!/bin/sh warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies

8. Solaris

FSCK root file system (/dev/vx/dsk/bootdg/rootvol)

Hi, I need to fsck the root file system on my Solaris 9 server. It is a UFS file system but it is under Veritas control. I want to know which fsck I need to use to check the file system. The default Solaris fsck (/usr/sbin/fsck) or the Veritas (/lib/fs/vxfs/sparcv9/fsck) fsck? I take it I... (3 Replies)
Discussion started by: gwhelan
3 Replies

9. Shell Programming and Scripting

apache threshold

Hi folks, how can i check apache threshold values via shell scripting and what factors need to check via shell scripting process or number of users or what. pls do advice me. Thanks, Bash (9 Replies)
Discussion started by: learnbash
9 Replies
Login or Register to Ask a Question