Enabling kernel crash dumps on RHEL 6

Robert Leong -

Using GUI

Link to download the PDF for enabling kernel crash dumps for RHEL 6.2 is at the end of the article.

Internal reference ZD 18666

--------------------------------------------

Using CLI

Additional notes on panic dumps, tested on RHEL 6.2 and 6.4

Make sure the entry

core_collector makedumpfile -c -d 31

exists in

/etc/kdump.conf

The dump will be in this path:

/var/crash/…./vmcore

--------------------------------------------

To manually caused a kernel panic:

echo 1 > /proc/sys/kernel/sysrq; echo c > /proc/sysrq-trigger

--------------------------------------------

Best practice note

It has been observed that no vmcore gets captured after a panic, this could depend on how the Venice is rebooted after the crash.  A soft reset of control/alt/delete via an attached KVM to the Venice server will likely allow it to save the kernel dump.  If a hard reset or power cycle is performed instead, this will likely not save the crash dump.

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.