Operating System - HP-UX
1752345 Members
5523 Online
108787 Solutions
New Discussion

Re: /VAR mount point is utilized 85%

 
hpux_sun
Occasional Advisor

/VAR mount point is utilized 85%

please advise to remove unnessary files in /VAR, also please tell me that can i remove the below file?

 

/var/adm/sw/products/SFM-CORE.2/EMT_COREIA/cerdump-min

6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: /VAR mount point is utilized 85%

No, you may destroy the software database.

 

Consider to trim some log files.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
V. Nyga
Honored Contributor

Re: /VAR mount point is utilized 85%

Hi,

 

you can check /var/tmp - it's a tmp dir, so almaost everything there can be deleted (you can ask here before, if you want to).

In /var also superseeded patches are stored (for patch roll-back).

You can check with 'cleanup -p -c 3' how many patches are stored which a 3 times superseeded.

Check 'man cleanup' for all options.

-p means 'preview' so nothing will be done at the system - without '-p' all patches with 3 or bigger will be deleted from the patch database.

For clarification - these patches are updated 3 times then, so they are really old.

Normally you will roll-back maybe one patch (if ever) - but almost never 3 patches.

 

HTH

V.

 

*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: /VAR mount point is utilized 85%

You also have the directories mail and adm/crash under /var.
Check what you need from there.
V.
*** Say 'Thanks' with Kudos ***
Arunabha Banerjee
Valued Contributor

Re: /VAR mount point is utilized 85%

You have to check /var/adm/syslog directories also. May be you need to compress syslog.log file. Apart from that check root  mai.log file and other user mail.log file. You can compress those file also.

 

Better you check the large files with find command under /var mount point and then decide accordingly.

 

find /var -xdev -size +20000 -exec ls -ltr {} \;

OR

find /var -xdev -size +200000 -exec ls -ltr {} \;

AB
Dennis Handly
Acclaimed Contributor

Re: /VAR mount point is utilized 85%

>tell me that can I remove the below file?

 

How big is that file? Typically those files in the IPD aren't big, only the patch save area.

Rajesh K Chaurasia
Valued Contributor

Re: /VAR mount point is utilized 85%

You may want to check crash dump files under /var/adm/crash. Typically these are largest consumer of space under /var. If you find crash dump files and don't need them, you could delete everything under /var/adm/crash