1826454 Members
3227 Online
109692 Solutions
New Discussion

Re: crash dumps in /var

 
SOLVED
Go to solution
ellison_1
New Member

crash dumps in /var

Hello All,

My /var needs cleaning and there are old crash dumps in /var/adm/crash/crash.3 dating back to 2003. As an example: image.1.1.gz to image.1.6.gz and vmunix.gz files are in this directory. Is it safe to delete all?
6 REPLIES 6
Mel Burslan
Honored Contributor
Solution

Re: crash dumps in /var

Unless there is a compelling reason to save them like a pending litigation due to some monetary loss incurred, there is no reason to keep a crash dump older then the last one. Even the last one, after the analysis gets completed (if necessary) can be deleted.
________________________________
UNIX because I majored in cryptology...
Fabio Ettore
Honored Contributor

Re: crash dumps in /var

Hi ellison,

Mel is right.
You can surely delete it since it is so old and of course it doesn't need anymore to be analyzed.

Crash dumps are useful to know the reason of a panic or TOC and dump should be analyzed as soon as possible after those events.

Best regards,
Fabio
WISH? IMPROVEMENT!
Bill Hassell
Honored Contributor

Re: crash dumps in /var

If your server is crashing a lot, it's time for patches. The crash dumps are only useful for HP to analyze and recommend patches or config changes. Other than that, just remove the dumps.


Bill Hassell, sysadmin
S.Rider
Regular Advisor

Re: crash dumps in /var

Delete the old crash dumps by all means, but I think it's pretty common on alot of systems to have /var/adm/crash as a seperate filesystem so dumps don't fill up /var.
Ride Boldly Ride, but watch out for El Dorado's
Raj D.
Honored Contributor

Re: crash dumps in /var

Hi Ellison,

You can delete the old crash dump and can freed up some space on /var.

If you want to analyse any old issue , thoguh it seems to be very old like 2003, then u can probably keep it , else no issue by deleting the years old crash dump.

To analyze crash dump , is a long process and you need q4 uitlity , and to send the file to hp. One more script is there called collection.sh , that also helps analyzing crash dump. just fyi..

Hence you can delete the old crash dumps , and can free up some space in /var.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Steve Andrews_6
Frequent Advisor

Re: crash dumps in /var

I only use Crash dump files immediately after a crash. Old crash files are probably not valid and of no use. I would delete the files. Keep the directory structure though so if it does crash at any time the system can create the files accordingly.
In God We Trust