cancel
Showing results for 
Search instead for 
Did you mean: 

VAR FULL

 
Highlighted
Frequent Advisor

VAR FULL

dear expert vg00/lvol9 var full how to do house keeping this folder.

thanks
15 REPLIES 15
Highlighted
Trusted Contributor

Re: VAR FULL

hi

post the output of du -sk* | sort -nr.

check for large files and if permits u can nullify it.

eg: >/var/adm/syslog/syslog.log.
check if auditing is enabled.
check for mail msg from root and other user may be oracle or other application.

if u have free PE in vg00 and if online jfs installed u can extend it easily,if not boot in to single user mode and lvextend and extendfs.

post the output of du -sk *|sort -nr and
vgdisplay -v vg00

for better result.


regards

MC
Highlighted
Acclaimed Contributor

Re: VAR FULL

At least two major areas:
1) /var/tmp
Just remove old and/or large files.

2) /var/adm/sw

Here you have to be very careful otherwise you'll never be able to patch your machine.
You need to look at committing patches or use cleanup(1m): "cleanup -c 1".
This commits patches that have superseded at least once.
Highlighted
Regular Advisor

Re: VAR FULL

Hi,
Share the output
du -k -x | sort -rn
Are you running appache2?
Highlighted
Frequent Advisor

Re: VAR FULL

hi madhu,

Attached with txt file.

How to check whether its we have free PE in vg00 and online jfs
Can u give the step that how to do lvextend.

thanks

Highlighted
Frequent Advisor

Re: VAR FULL

here is the out put for du -k -x |sort -rn

Highlighted
Regular Advisor

Re: VAR FULL

Better is to go to /var
# cd /var
and run the command.
# du -k -x | sort -rn
the look for the larger folder and go inside it and run the command and so on.
In this way you can trace the larger file and treat it accordingly.
Highlighted
Acclaimed Contributor

Re: VAR FULL

>Attached with txt file.
>11451696 var

I think the intention was to do this in var:
du -kxs /var/*

Highlighted
Frequent Advisor

Re: VAR FULL

dear adis & denis

pls refer attached file.

Highlighted
Regular Advisor

Re: VAR FULL

As per shared file
6426688 ./spool/mqueue is taking large space.
Empty mail queue.
1361056 ./adm/crash/crash.0 and
972456 ./adm/crash/crash.1 are taking large space.
Delete the older crash if not needed.
In this way you can manage to release space.