If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > /usr issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-11, 07:54
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
/usr issue

i am working on AIX 5.3

my /usr is full, now i have to perform house cleaning activity(remove unwanted data), any suggestions pls................


$ pwd
/usr
$ ls -l
total 480
drwxr-xr-x 2 root system 256 May 24 2010 Annotations
drwxr-xr-x 2 root system 4096 Nov 30 2007 Backup_Schedulers
drwxr-xr-x 2 root system 4096 Nov 30 2007 CMCode
drwxrwxrwx 3 root system 4096 Jun 12 2008 DBBackup
drwxr-xr-x 3 root system 256 May 17 2007 HTTPServer
drwxr-xr-x 19 root system 4096 Aug 03 2010 IBMHttpServer
drwxr-xr-x 2 root system 4096 Jan 11 16:23 MailLog
drwxrwxrwx 5 12 system 8192 Apr 24 03:00 Schedulers
drwxr-xr-x 2 root system 256 Jul 19 2007 TestDB
drwxr-xr-x 3 root system 256 Jul 10 2007 WebSphere
drwxr-xr-x 2 bin bin 256 May 17 2007 X11R6
lrwxrwxrwx 1 root adm 8 Jun 12 2007 adm -> /var/adm
drwxr-xr-x 3 bin bin 256 May 17 2007 aix
drwxr-xr-x 7 bin bin 256 Apr 24 2006 artic960
drwxr-xr-x 4 bin bin 57344 Feb 08 09:16 bin
drwxr-xr-x 4 bin bin 256 May 17 2007 ccs
drwxr-xr-x 4 root system 256 Jul 16 2008 db2inst1
lrwxrwxrwx 1 bin bin 15 Jun 12 2007 dict -> /usr/share/dict
lrwxrwxrwx 1 root system 17 Jun 12 2007 doc -> /opt/freeware/doc
drwxr-xr-x 21 bin bin 4096 May 13 2009 dt
drwxr-xr-x 3 bin bin 256 Jun 08 2006 ecc
drwx------ 4 root system 256 Dec 06 16:40 emgrdata
drwxr-xr-x 3 root system 256 Mar 05 2008 es
drwxr-xr-x 3 root system 4096 Jun 12 2007 etc
drwxr-xr-x 3 root system 256 Jun 12 2007 ibm
drwxr-xr-x 28 bin bin 12288 May 27 2010 include
drwxr-xr-x 10 bin bin 4096 May 13 2009 java14
drwxr-xr-x 7 bin bin 4096 Jun 12 2007 java14_64
drwxr-xr-x 7 bin bin 256 May 20 2006 java5
drwxr-xr-x 7 bin bin 256 May 18 2006 java5_64
drwxr-xr-x 4 bin bin 4096 Jan 05 2010 lbin
drwxr-xr-x 44 bin bin 28672 Feb 08 09:16 lib
drwxr-xr-x 5 root system 256 Jan 12 2008 linux
drwxr-xr-x 6 root system 256 Sep 01 2009 local
drwx------ 2 root system 256 Jun 12 2007 lost+found
lrwxrwxrwx 1 root printq 12 Jun 12 2007 lpd -> /usr/lib/lpd
drwxr-xr-x 362 bin bin 20480 Feb 08 09:16 lpp
lrwxrwxrwx 1 bin bin 14 Jun 12 2007 man -> /usr/share/man
drwxr-xr-x 3 bin bin 256 Apr 28 2006 mozilla
drwxr-xr-x 5 bin bin 256 Apr 28 2006 netscape
dr-x------ 2 root system 256 Dec 01 2009 openssh
drwxr-xr-x 2 root system 256 Aug 10 2010 openssl
drwxr-xr-x 6 bin bin 256 Jul 10 2007 opt
drwxr-xr-x 3 root system 256 May 17 2007 perfagent
drwxr-xr-x 6 root system 256 May 17 2007 pmapi
lrwxrwxrwx 1 bin bin 18 Jun 12 2007 pub -> /usr/share/lib/pub
drwxr-xr-x 31 bin bin 4096 May 16 2008 samples
drwxr-xr-x 7 bin bin 53248 May 27 2010 sbin
drwxr-xr-x 7 bin bin 256 Sep 27 2007 share
drwxr-xr-x 5 bin bin 4096 May 13 2009 sni
lrwxrwxrwx 1 bin bin 10 Jun 12 2007 spool -> /var/spool
drwxr-xr-x 2 root system 256 Jan 12 2008 src
drwxr-xr-x 4 bin bin 256 May 09 2006 ssa
drwxr-xr-x 4 bin bin 256 May 14 2006 suma
drwxr-xr-x 4 root system 256 Feb 09 13:20 swdump
drwxrwxr-x 3 root system 256 May 17 2007 swlag
drwxrwxr-x 4 bin bin 256 May 17 2007 sys
drwxr-xr-x 3 bin bin 256 May 17 2007 sysv
drwxr-xr-x 3 root system 256 Sep 18 2008 tivoli
lrwxrwxrwx 1 bin bin 8 Jun 12 2007 tmp -> /var/tmp
drwxrwxr-x 2 bin bin 4096 Jan 05 2010 ucb
drwxrwxr-x 2 bin bin 256 Jun 12 2007 usg
drwxrwxr-x 9 bin bin 4096 May 13 2009 websm
Reply With Quote
  #2 (permalink)  
Old 04-28-11, 09:17
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
How is this related to DB2?

Andy
Reply With Quote
  #3 (permalink)  
Old 04-28-11, 09:35
DebianDog DebianDog is offline
Registered User
 
Join Date: Apr 2011
Posts: 17
It is not related but your DBbackup and instance/user directory should have its own mount point in my opinion.
Reply With Quote
  #4 (permalink)  
Old 04-28-11, 10:59
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by ravichandrapratap View Post

my /usr is full, now i have to perform house cleaning activity(remove unwanted data), any suggestions pls
I suggest you find another career path.
Reply With Quote
  #5 (permalink)  
Old 04-29-11, 06:33
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
Quote:
Originally Posted by ARWinner View Post
How is this related to DB2?

Andy
As there is no any OS team, i need to perform this tisk.........
Reply With Quote
  #6 (permalink)  
Old 04-29-11, 06:41
DebianDog DebianDog is offline
Registered User
 
Join Date: Apr 2011
Posts: 17
Quote:
Originally Posted by ravichandrapratap View Post
As there is no any OS team, i need to perform this tisk.........
I would buy an AIX sysadmin book. I started as an SA before becoming a DBA like many DBA's I know.

You need to find out what os using the disk space 'du' is one way and as i said above you need to get the instance owner and db backups off that mount point.

If you do not know how to accomplish this
  1. Figure it out and get it done
  2. Tell your employer you need help
  3. Go look for another job
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On