Configuring Kdump
When you install and configure Kdump, the following files are changed:
-
/boot/grub2/grub.cfg
: Appends thecrashkernel
option to the kernel line to specify the amount of reserved memory and any offset value. -
/etc/kdump.conf
: Sets the location in which the dump file can be written, the filtering level for themakedumpfile
command, and the default behavior to take if the dump fails. See the comments in the file for information about the enabled parameters.
When you edit these files, you must reboot the system for the changes to take effect.
For more information, see the kdump.conf(5)
manual page.
Configuring the Kdump Output Location
After installing and enabling Kdump, you can define the location in which the resulting
output is saved. For Oracle Linux, Kdump files are stored in the
/var/crash
directory by default, or in the
/var/oled/crash
directory on Oracle Cloud Infrastructure compute
instances.
Important:
Make sure that the Kdump output path is at a location that has sufficient disk space to store the kernel crash dump file.
On systems with memory of 1 TB or more, such as the larger bare metal shapes on Oracle Cloud Infrastructure, you should cater to around 20 GB disk space at minimum.