introduce the auto_reset_crashkernel option to kdump.conf
This option will determine whether to reset kernel crashkernel to new default value or not when kexec-tools updates the default crashkernel value and existing kernels using the old default kernel crashkernel value. Default to yes. Reviewed-by: Pingfan Liu <piliu@redhat.com> Reviewed-by: Philipp Rudo <prudo@redhat.com> Signed-off-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
parent
140da74a34
commit
73ced7f451
@ -11,6 +11,12 @@
|
|||||||
#
|
#
|
||||||
# Supported options:
|
# Supported options:
|
||||||
#
|
#
|
||||||
|
# auto_reset_crashkernel <yes|no>
|
||||||
|
# - whether to reset kernel crashkernel to new default value
|
||||||
|
# or not when kexec-tools updates the default crashkernel value and
|
||||||
|
# existing kernels using the old default kernel crashkernel value.
|
||||||
|
# The default value is yes.
|
||||||
|
#
|
||||||
# raw <partition>
|
# raw <partition>
|
||||||
# - Will dd /proc/vmcore into <partition>.
|
# - Will dd /proc/vmcore into <partition>.
|
||||||
# Use persistent device names for partition devices,
|
# Use persistent device names for partition devices,
|
||||||
@ -170,6 +176,7 @@
|
|||||||
#ssh user@my.server.com
|
#ssh user@my.server.com
|
||||||
#ssh user@2001:db8::1:2:3:4
|
#ssh user@2001:db8::1:2:3:4
|
||||||
#sshkey /root/.ssh/kdump_id_rsa
|
#sshkey /root/.ssh/kdump_id_rsa
|
||||||
|
auto_reset_crashkernel yes
|
||||||
path /var/crash
|
path /var/crash
|
||||||
core_collector makedumpfile -l --message-level 7 -d 31
|
core_collector makedumpfile -l --message-level 7 -d 31
|
||||||
#core_collector scp
|
#core_collector scp
|
||||||
|
@ -26,6 +26,12 @@ understand how this configuration file affects the behavior of kdump.
|
|||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
|
|
||||||
|
.B auto_reset_crashkernel <yes|no>
|
||||||
|
.RS
|
||||||
|
determine whether to reset kernel crashkernel to new default value
|
||||||
|
or not when kexec-tools updates the default crashkernel value and
|
||||||
|
existing kernels using the old default kernel crashkernel value
|
||||||
|
|
||||||
.B raw <partition>
|
.B raw <partition>
|
||||||
.RS
|
.RS
|
||||||
Will dd /proc/vmcore into <partition>. Use persistent device names for
|
Will dd /proc/vmcore into <partition>. Use persistent device names for
|
||||||
|
Loading…
Reference in New Issue
Block a user