HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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?

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...
Steven E. Protter
Exalted Contributor

Re: Filesystem /var diskspace utilization exceeds 98 threshold.

Shalom,

Basically you need to administer the system.

If you only manage one system, you can use smh or sam and just trim the log files once in a while.

If you manage many systems, you probably should regularly execute a script that trips the logs. cron is how you want to do this.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com