System Administration
Showing results for 
Search instead for 
Did you mean: 


Go to solution
Super Advisor


Hello Friends,

I am not much familiar about hacluster, since one of my root FS is full, I could see that below core file is consuming more disk space.


Could some tell me about what is this file, what it contains? Can I nullify this file?

If you know more about this file, please help me to identify more about this.

Thanks in advance.!
Honored Contributor

Re: /var/lib/heartbeat/cores/hacluster/core

Core files normally are created when an exception occurs on the program.

Core files are used to debug the problem, the program developer can analyze the core file.

You can safely remove the files named "core".

Also, you should double check that the problem of your file system full is just that file, and that /var is on the root file system.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Exalted Contributor

Re: /var/lib/heartbeat/cores/hacluster/core


As an aside, this is why the standard Linux file system layout, one big one is not a good idea.

root fs being full can potentially bring down a system. If /var were separate and discreet, the risks to the system would be lower.

core files can go away.

Most admins write cron jobs to take care of this automatically or configure the system -S c 0 to not permit core files. They then permit core files only when needed for diagnosis.

Most core files are ignored and never looked at.

Steven E Protter
Owner of ISN Corporation
Honored Contributor

Re: /var/lib/heartbeat/cores/hacluster/core

Hi bullz,

First of all, if you cannot identify a file on linux/unix, use the file command like this:

bash> file core
core: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from '-bash'

Simply put, a core file is a "post mortem error message" for a failed command. Here you will find more info on that:
Unix operates with beer.
Super Advisor

Re: /var/lib/heartbeat/cores/hacluster/core

Thanx all, for youe views.
I have got some idea about core files, i understood that corefiles can be removed :)

Just kiding.. i take care.