Skip to content

Commit 89a77ac

Browse files
jbtrystramjldohmann
andcommitted
troubleshooting/operating-system: document kdump support over NFS
On RHCOS, the nfs module is explicitly excluded from the initramfs: https://github.com/coreos/fedora-coreos-config/blob/de0416b8820cffa2ea3b7dbd9e95a9cc0ad9a42b/overlay.d/05core/usr/lib/dracut/dracut.conf.d/coreos-omits.conf#L7 Thus, setting an NFS target destination in kdump.conf will not work because the kdump initramfs will not have the NFS module. Add instruction on how to add the module to enable the functionality. This may not be necessary if kdump auto-detect the required modules: See rhkdump/kdump-utils#11 Co-authored-by: Jesse Dohmann <jdohmann@redhat.com>
1 parent ea39755 commit 89a77ac

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

modules/troubleshooting-enabling-kdump-day-one.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,19 @@ systemd:
6868
<4> If you want to change the contents of `/etc/sysconfig/kdump` from the default, include this section and modify the `inline` subsection accordingly.
6969
<5> For the `ppc64le` platform, replace `nr_cpus=1` with `maxcpus=1`, which is not supported on this platform.
7070
71+
[NOTE]
72+
====
73+
To export the dumps to NFS targets, the `nfs` kernel module must be explicitly added to the configuration file:
74+
75+
.Example `/etc/kdump.conf` file
76+
[source,text]
77+
----
78+
nfs server.example.com:/export/cores
79+
core_collector makedumpfile -l --message-level 7 -d 31
80+
extra_modules nfs
81+
----
82+
====
83+
7184
. Use Butane to generate a machine config YAML file, `99-worker-kdump.yaml`, containing the configuration to be delivered to the nodes:
7285
+
7386
[source,terminal]

0 commit comments

Comments
 (0)