1748177 Members
4148 Online
108758 Solutions
New Discussion юеВ

Re: VAR FULL

 
Shattia Moorthi
Frequent Advisor

VAR FULL

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

thanks
15 REPLIES 15
madhuchakkaravarthy
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
Dennis Handly
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.
Abid Iqbal
Regular Advisor

Re: VAR FULL

Hi,
Share the output
du -k -x | sort -rn
Are you running appache2?
Shattia Moorthi
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

Shattia Moorthi
Frequent Advisor

Re: VAR FULL

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

Abid Iqbal
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.
Dennis Handly
Acclaimed Contributor

Re: VAR FULL

>Attached with txt file.
>11451696 var

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

Shattia Moorthi
Frequent Advisor

Re: VAR FULL

dear adis & denis

pls refer attached file.

Abid Iqbal
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.