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 getting full due to sar & mwa data files

Highlighted
Regular Advisor

/var getting full due to sar & mwa data files

Hi Experts,

 

Request to please suggest, what could be done to housekeeping the below max utilization file:

 

abcd:/var#find . -type f -xdev -print | xargs -e ll | sort -rn -k5 | head -n 10
-rw-r--r--   1 root       sys        853758720 Jun 20 00:00 ./sardata/20130619
-rw-r--r--   1 root       sys        403756728 Jun 20 11:21 ./sardata/20130620
-rw-r--r--   1 root       root       145455340 Jun 20 11:21 ./opt/perf/datafiles/logproc
-rw-r--r--   1 root       sys        107851007 Jun 19 00:00 ./sardata/20130618.gz
-rw-r--r--   1 root       root       20859156 Jun 20 11:21 ./opt/perf/datafiles/logdev
-rw-------   1 sfmdb      users      16777216 May 15 18:37 ./opt/psb/db/pgsql/pg_xlog/0000000000000021
-rw-------   1 sfmdb      users      16777216 Jun 20 01:08 ./opt/psb/db/pgsql/pg_xlog/000000000000001F
-rw-------   1 sfmdb      users      16777216 Jun 18 01:05 ./opt/psb/db/pgsql/pg_xlog/0000000000000022
-rw-------   1 sfmdb      users      16777216 Apr 18 01:05 ./opt/psb/db/pgsql/pg_xlog/0000000000000020
-rw-r--r--   1 root       root       16490868 Jun 20 11:21 ./opt/perf/datafiles/logglob

 

Daily i am fed up with performing housekeeping this /var

1 REPLY
Acclaimed Contributor

Re: /var getting full due to sar & mwa data files

Create symlinks for those directories that contain large files and move them to a larger filesystem.

./sardata/
./opt/perf/datafiles/
 ./opt/psb/db/pgsql/pg_xlog/

 

>Daily I am fed up with performing housekeeping this /var

 

You haven't automated it?  :-)