Re: Decrease /var volumn size

From: Igor Sobrado (igor_at_no-spam.on.the.net)
Date: 12/15/04


Date: 15 Dec 2004 17:45:00 +0100

bj <bj@msn.com> wrote:
> My /var has 17GB, I think it is too big. How can I decrease to 2GB? (HP-UX
> 11.11)

I am not working with HP-UX 11i (yet), but I think I can help you.
First of all, the output of du(1) can be useful. Try something like:

  $ cd /var
  $ du -ks *

My *guess* is that there are a lot of core dumps of the system at
/var/adm/crash (this directory exists in 11i too, am I wrong?) :-)

/var/mail and /var/spool are directories that sometimes grow a lot
(email stored, temporary files for plotters... it depends on the
computing environment).

You must decide what files can be removed from the system or stored
in back-up media.

Hope this will help you. But perhaps someone with a better knowledge
on 11i has another tips.

Cheers,
Igor.



Relevant Pages

  • Re: The end of first class mail as we know it.
    ... media, freshly loaded for each session online, with no other files on ... the machine except temporary files, and with a second monitor which ... security are in an inverse relationship. ...
    (rec.arts.sf.fandom)
  • Re: file permission error
    ... I would still recommend NEVER to save directly to any removable media. ... because doing so usually results in file corruption ... there is no way of knowing how much space the temporary files will use. ...
    (microsoft.public.word.application.errors)