Operating System - HP-UX
1748210 Members
3692 Online
108759 Solutions
New Discussion юеВ

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

 
WW528437
Occasional Contributor

Filesystem /var diskspace utilization exceeds 98 threshold.

Filesystem /var diskspace utilization exceeds 98 threshold.

how to reduce ?
please give me the complete reference
10 REPLIES 10
Anshumali
Esteemed Contributor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

Complete reference might be at docs.hp.com
Wht you might look at the moment is:
/var/adm/syslog
--Check for syslog and other logs which can trim down. Dont delete them, copy->null them
/var/adm
--Check for btmps/wtmps
/var/adm/cron
--Check for log/OLDlog

Or might just run du -sk .|sort -k1nr|more to see whats hogging up the space.

If you have OnlineJFS, you can try extending it....
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Kapil Jha
Honored Contributor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

If anything does not work, take ignite backup of the server.
and run
cleanup -c 1

it should clear /var.

Make sure u have ignite and read
man cleanup

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Ismail Azad
Esteemed Contributor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

Sir,

You can copy the syslog file onto tmp so even if you trim or nullify the file you will still have a reference for errors and warnings. You can also trim or nullify the file /var/adm/sulog in addition to the log files that contain successful and unsuccessful login attemps as that is also a file that grows if there are excessive su's. Don't forget to assign points.

Regards
Read, read and read... Then read again until you read "between the lines".....
madhuchakkaravarthy
Trusted Contributor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

hi

please post the output of

cd /var
du -sk *

regards

MC
ani007
Super Advisor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

please post the output of

#cd /var
#find . -xdev -size +100000 (change this value as per ur requirement) -exec ls -lrt {} \;

do you have space in the vg?
Dennis Handly
Acclaimed Contributor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

>ani007: find . -xdev -size +100000 -exec ls -lrt {} \;

If you want bytes instead of useless blocks, you need +100000c.
Also the -rt is useless if you use \;. You should be doing:
-exec ls -ldrt {} +
Rita C Workman
Honored Contributor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

I'm taking a guess here, but have you done any cleanup on old patches.

Why not run:
cleanup -c 2

That's pretty conservative and what it will do is commit/cleanup all old patches that have been superseded at least 2 times.

Then check where /var is afterwards and you could also try the suggestions from the folks above.

..you might also want to assign points accordingly to those who have helped you...

Rgrds,
Rita
Shibin_2
Honored Contributor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

You must have at least proper backup of /var/adm/sw before you execute cleanup command.
Regards
Shibin
James R. Ferguson
Acclaimed Contributor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

Hi:

> Shibin: You must have at least proper backup of /var/adm/sw before you execute cleanup command.

This is not a requirement but only a consideration.

If, in fact, you have uncommitted patch rollback information, you could do:

# cleanup -c 1

...to regain the most space.

Regards!

...JRF...