Getting a 90% disc full alert


 
Thread Tools Search this Thread
Operating Systems Solaris Getting a 90% disc full alert
# 1  
Old 02-16-2012
Getting a 90% disc full alert

Hello experts, need help
One of filesystem on my solaris server is 90% full

/dev/dsk/c1t0d0s3 32G 28G 3.3G 90% /usr

here is contents of the folder
HTML Code:
jboss-ie10ux013:/usr\n\r-> ls
4lib        X11R6       ccs         j2se        lost+found  openv       proc        spool       vmsys
5bin        adm         demo        java        mail        openwin     pub         src         xpg4
SPLM        apache      dict        jdk         man         perl5       sadm        sunvts      xpg6
SUNWale     appserver   dt          kernel      net         pgadmin3    sbin        tmp
UGS         aset        games       kvm         news        platform    sfw         ucb
X           attic       gnome       lib         oasys       postgres    share       ucbinclude
X11         bin         include     local       old         preserve    snadm       ucblib
jboss-ie10ux013:/usr\n\r->
apart of UGS and SPLM none are folder/drectories created by me, can you help me to point out some of junk folder if any i can get rid of in above list.
here is ls -lrt listing of same

Code:
jboss-ie10ux013:/usr\n\r-> ls -lrt
total 272
drwx------   2 root     root        8192 Jan 28  2010 lost+found
drwxr-xr-x   2 root     bin          512 Jan 28  2010 games
drwxr-xr-x   9 root     sys          512 Jan 28  2010 kernel
lrwxrwxrwx   1 root     root          11 Jan 28  2010 mail -> ../var/mail
drwxr-xr-x   4 root     sys          512 Jan 28  2010 net
lrwxrwxrwx   1 root     root          11 Jan 28  2010 news -> ../var/news
drwxr-xr-x   2 root     bin          512 Jan 28  2010 old
lrwxrwxrwx   1 root     root          15 Jan 28  2010 preserve -> ../var/preserve
lrwxrwxrwx   1 root     root          15 Jan 28  2010 pub -> ./share/lib/pub
lrwxrwxrwx   1 root     root          12 Jan 28  2010 spool -> ../var/spool
lrwxrwxrwx   1 root     root          11 Jan 28  2010 src -> ./share/src
lrwxrwxrwx   1 root     root          10 Jan 28  2010 tmp -> ../var/tmp
drwxr-xr-x   2 root     bin          512 Jan 28  2010 kvm
drwxr-xr-x   4 root     bin          512 Jan 28  2010 ccs
lrwxrwxrwx   1 root     root           9 Jan 28  2010 X -> ./openwin
lrwxrwxrwx   1 root     root          16 Jan 28  2010 dict -> ./share/lib/dict
drwxr-xr-x   3 root     bin          512 Jan 28  2010 proc
drwxr-xr-x   3 root     other        512 Jan 28  2010 gnome
lrwxrwxrwx   1 root     root          11 Jan 28  2010 man -> ./share/man
drwxr-xr-x   9 root     bin          512 Jan 28  2010 openwin
lrwxrwxrwx   1 root     root           5 Jan 28  2010 5bin -> ./bin
drwxr-xr-x   3 root     bin          512 Jan 28  2010 xpg6
drwxr-xr-x   6 root     bin          512 Jan 28  2010 X11
lrwxrwxrwx   1 root     root           3 Jan 28  2010 X11R6 -> X11
drwxr-xr-x   9 root     bin          512 Jan 28  2010 j2se
drwxr-xr-x   9 root     bin          512 Jan 28  2010 sadm
drwxr-xr-x   8 root     bin          512 Jan 28  2010 appserver
drwxr-xr-x  10 root     bin          512 Jan 28  2010 dt
drwx------   8 root     bin          512 Jan 28  2010 aset
drwxr-xr-x   6 root     bin          512 Jan 28  2010 snadm
drwxr-xr-x   5 root     sys          512 Jan 28  2010 SUNWale
drwxr-xr-x   4 root     bin         2048 Jan 28  2010 ucb
lrwxrwxrwx   1 root     root          10 Jan 28  2010 adm -> ../var/adm
drwxr-xr-x   5 root     bin          512 Jan 28  2010 oasys
drwxr-xr-x   7 root     bin          512 Jan 28  2010 vmsys
drwxr-xr-x  54 root     sys         2048 Jan 28  2010 platform
drwxr-xr-x   5 root     bin          512 Jan 28  2010 xpg4
drwxr-xr-x   4 root     bin          512 Jan 28  2010 pgadmin3
drwxr-xr-x   6 root     bin          512 Jan 28  2010 postgres
drwxr-xr-x   3 root     bin         1024 Jan 28  2010 4lib
drwxr-xr-x  11 root     bin          512 Jan 28  2010 sfw
drwxr-xr-x  19 root     bin          512 Jan 28  2010 demo
drwxr-xr-x   7 root     bin          512 Jan 28  2010 perl5
drwxr-xr-x   3 root     bin         1024 Jan 28  2010 ucblib
drwxr-xr-x   4 root     bin          512 Jan 28  2010 ucbinclude
drwxr-xr-x   5 root     bin          512 Feb 10  2010 apache
drwxr-xr-x  13 root     root         512 Mar  9  2010 local
drwxr-xr-x   5 root     bin          512 Apr 23  2011 sunvts
drwxr-xr-x 113 root     bin         8704 Apr 23  2011 include
drwxr-xr-x   4 root     bin        19456 Apr 23  2011 bin
drwxr-xr-x 134 root     bin        33792 Apr 23  2011 lib
drwxr-xr-x   5 root     bin         9216 Apr 23  2011 sbin
drwxr-xr-x   4 infodba  tcgrp        512 May 18  2011 SPLM
drwxr-xr-x   4 root     bin          512 Jun 12  2011 jdk
drwxr-xr-x   2 root     root         512 Jun 20  2011 attic
lrwxrwxrwx   1 root     root          27 Jun 20  2011 java -> /usr/jdk/instances/jdk1.5.0
drwxr-xr-x 112 root     sys         2560 Jul  4  2011 share
drwxr-xr-x  12 root     bin          512 Jul  7  2011 openv
drwxr-xr-x   2 infodba  tcgrp        512 Aug  2  2011 UGS
jboss-ie10ux013:/usr\n\r->

Please do review and let me know if more information is required

Last edited by Scott; 02-17-2012 at 10:23 AM.. Reason: Code tags
# 2  
Old 02-16-2012
usr are the systems files of solaris....all the files are importants..it seems that all the files are important.....u have to check each file system with du -hk file system name to get usage of disk space for each files and folder
# 3  
Old 02-17-2012
Quote:
/dev/dsk/c1t0d0s3 32G 28G 3.3G 90% /usr
Your /usr partition is huge (32 Gigabytes).
What really matters is whether the free space going down and at what rate.

The first thing to look for is large files. Note the "-xdev" parameter to "find" which keeps you to the current filesystem. We can see many links to other filesysystems in your directory listing.
To look for files larger than 10 megabytes (yes anything much bigger than this in a standard /usr partition would be unusual).
Code:
find /usr/ -xdev -type f -size +10485760c -exec ls -lad {} \;

DO NOT DELETE THE FILES. Just look and decide carefully what to do.
Feel free to post sample listings for an opinion.
What I expect you will post will be huge log files or something like that.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Cybersecurity

**ALERT**ALERT* Whats app requesting users to upgrade to latest version as; its vulnerability found.

Hello All, Want to share here an article for Whats app users that team whats app is requesting users to upgrade to its latest version since they have found a vulnerability; where Hacker could turn on a cell's camera, mic and scan messages and emails. Here is an article from "THE VERGE" for... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies

2. AIX

100% Inode full with only 67% FS full.

AIX Version 6.1 and 7.1. I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device. It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies

3. Linux

Disc is full - NOT! How to fix?

When I try to create a new text file on my server, via FTP, I get an error that the destination drive / disk is full. This is not true. I have at least 3-4 GB of space left. How can this be? Have not had this problem before, until today. I'm pretty new to Linux, and am therefore grateful for... (4 Replies)
Discussion started by: Guldstrand
4 Replies

4. Shell Programming and Scripting

How to extract strings from full path when full path is not fixed

/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird14/nrfCompMgrRave920100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.... (0 Replies)
Discussion started by: Shirisha
0 Replies

5. Solaris

Ultra 10 - Copying Files From Disc After Booting Up With Recovery Disc?

Hello, I'm still learning unix and I have what is probably a simple question but I can't seem to find the question to. I have an Ultra 10 Sparc Server running solaris 8 and the drive may have crashed (I hope not). Currently, it appears some files in the /etc folder are missing. I have a backup... (1 Reply)
Discussion started by: ideffects
1 Replies

6. UNIX for Dummies Questions & Answers

format disc

What is the best way to format the partition? (3 Replies)
Discussion started by: mirusnet
3 Replies

7. UNIX for Dummies Questions & Answers

Disc Needs Maintenance

Hello All Here I am using Sun V880 server which have discsuit pack of 8 discs with 2 sub mirrors each. Everything was fine for the last 1 year. Now I am getting problem of taking backup of the server. After analysis what I got that each 2nd submirrors are in NEEDS MAINTENANCE status. What... (5 Replies)
Discussion started by: ailnilanjan
5 Replies

8. UNIX for Dummies Questions & Answers

Copy of HP-UX from MO disc

This is my newbi question. I have HP-UX on a MO drive, need to backup that MO in case of damaging the original. Therefor I need a copy on server and be able to put that copy onto a blank MO to recreate a working bootable disc. This what I did. First I tried to make a copy with dd dd... (0 Replies)
Discussion started by: tops
0 Replies

9. UNIX for Dummies Questions & Answers

Disc Copy

Is there a disk copy utiliy for unix systems eg: I need to make a duplicate copy of a netraT1 to a netraT1 Thanks (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
Login or Register to Ask a Question