BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
System Administration
Showing results for 
Search instead for 
Do you mean 

/var/opt/sfmdb/pgsql filling up /var

NDO
Super Advisor

/var/opt/sfmdb/pgsql filling up /var

Hi All!

 

Is there anything that can be cleared up inside

/var/opt/sfmdb/pgsql/base

 

also

/var/jail

 as well as

/var/tmp

 I wonder if I can delete this type of files:

-rw-r--r--   1 sfmdb      users         7195 Jun 24  2012 yhaa01472
-rw-r--r--   1 sfmdb      users          487 Jun 24  2012 xhaa01472
-rw-r--r--   1 sfmdb      users         1883 Jun 24  2012 zhaa01472
-rw-r--r--   1 sfmdb      users          254 Jun 26  2012 aiaa01472
-rw-r--r--   1 sfmdb      users         3608 Jun 26  2012 biaa01472
-rw-r--r--   1 sfmdb      users          952 Jun 26  2012 ciaa01472
-rw-r--r--   1 sfmdb      users          206 Oct 15  2012 hiaa01472
-rw-r--r--   1 sfmdb      users         3494 Oct 15  2012 iiaa01472
-rw-r--r--   1 sfmdb      users         1400 Oct 15  2012 jiaa01472

 inside /var/tmp.

 

 I have /var at 100%

7 REPLIES
Acclaimed Contributor

Re: /var/opt/sfmdb/pgsql filling up /var

>I wonder if I can delete this type of files inside /var/tmp.

 

Sure, 2012 is way too old to be useful but they are small.

Have you tried using cleanup(1m) to commit superseded patches?

NDO
Super Advisor

Re: /var/opt/sfmdb/pgsql filling up /var

I dont think I can use the cleanup command:

 

#cleanup -p -c 1
### Cleanup program started at 02/19/14  12:04:41
Preview mode enabled. No modifications will be made.
Commit patches superseded at least 1 time(s) on 'mcelrate'.
Obtaining superseded patch information...done.
No non-committed patches superseded at least 1 time(s) are present.
All information has been logged to /var/adm/cleanup.log.
### Cleanup program completed at 02/19/14  12:04:41

 

Acclaimed Contributor

Re: /var/opt/sfmdb/pgsql filling up /var

>No non-committed patches superseded at least 1 time(s) are present.

 

Yes.

NDO
Super Advisor

Re: /var/opt/sfmdb/pgsql filling up /var

So my only option is increase /var???

Acclaimed Contributor

Re: /var/opt/sfmdb/pgsql filling up /var

>So my only option is increase /var???

 

What directories under /var are the largest?  What's changed recently?

Search for other topics about large space on /var.

NDO
Super Advisor

Re: /var/opt/sfmdb/pgsql filling up /var

Notingh has changed, the server is about to be decomissioned soon.

mcelrate[454]/var #du -sk * | sort -n
0       X11
0       empty
0       home
0       lost+found
0       mail
0       news
0       uucp
8       tombstones
16      statmon
24      dt
24      run
72      tmp
96      yp
864     vx
1016    sam
8904    spool
9072    preserve
19136   stm
22448   jail
174272  opt
1872472 adm
mcelrate[455]/var #

 There is almost nothing I can delete inside /adm:

 

#du -sk * | sort -n
0       2147483647
0       acct
0       automount.log
0       btmps
0       cleanup.log
0       crash
0       diag
0       eisa
0       icod.log
0       ilogin
0       rc.log
0       sbtab
0       shutdownlog
0       snmpd.log
0       streams
0       wtmpx
8       OLDsulog
8       conslog.opts
8       hotplugd.log
8       inetd.sec
8       klboot.KLOG0
8       nettl.LOG000
8       new._ACL
8       new._OWNER
8       new._PROD_DFLT_ACL
8       new._SOC_DFLT_ACL
8       new.secrets
8       ptydaemonlog
8       sulog
8       vx
8       wtmp
16      wtmps
24      kc.log
24      lp
24      ps_data
40      syslog
80      btmp
248     kcmond
1144    cron
1870744 sw
mcelrate[457]/var/adm #

 The same for /sw

 

/var/adm/sw #du -sk * | sort -n
0       cache.lck
0       host_object
0       host_object_np
0       software
0       swmodify.log
0       targets
0       ui
8       cleanupfile.prev
8       defaults
8       defaults.patchfilters
8       getdate.templ
8       target_hosts
8       tmp
16      pre_update
16      update_prep
24      swagentd.log
32      swconfig.log
32      swinstall.log
56      security
128     swagent.log
1560    queue
50720   save_custom
130664  products
1687440 save
mcelrate[459]/var/adm/sw

 

Acclaimed Contributor

Re: /var/opt/sfmdb/pgsql filling up /var

>the server is about to be decommissioned soon.

>1687440 save

 

Then you have nothing to lose by committing some of these large patches.  You could take and ignite backup first.

Unfortunately cleanup doesn't have a -c0 option.  :-(

Try this on some large patches:

swmodify -x patch_commit=true patch-names ...

http://h30499.www3.hp.com/t5/Patches/Error-with-swmodify-x-patch-commit-true-PHSS-30978-patch-is/m-p/5087328