Showing results for 
Search instead for 
Did you mean: 

/var full

/var full

ES40 tru64 -4.0F
Give me proper steps to reduce /var and create
Vladimir Fabecic
Honored Contributor

Re: /var full

Delete files in /var/adm/crash/
In vino veritas, in VMS cluster
Victor Semaska_3
Esteemed Contributor

Re: /var full


You should try to find what filled up your /var. One way to do this is with this command:

find /var -type f -exec ls -s1 {} \; | sort -k1,1nr | more

The no. on the left is in KBs.

You may want to start new versions of the following files if they're large.


# rm -f /var/adm/binary.errlog
# touch /var/adm/binary.errlog
# kill -HUP


# rm -f /var/adm/messages
# touch /var/adm/messages

Don't remember if there's any daemon that has to be signaled with '-HUP'.

There are 10 kinds of people, one that understands binary and one that doesn't.
Geert Van Pamel
Regular Advisor

Re: /var full

You can overwite them with an empty file.

When you do the following operations, you certainly do not have to restart the error logger, because the files are not (re)moved.

# cp /dev/null /var/adm/binary.errlog

# cp /dev/null /var/adm/messages

If needed you can cp the old content into an archive before overwriting them.