Questo contenuto non è disponibile nella lingua selezionata.

Chapter 16. Installing kdump


The kdump service is installed and activated by default on Red Hat Enterprise Linux installations. You can enable and configure kdump during installation with Anaconda or afterward on the command line.

16.1. What is kdump

kdump provides a crash dumping mechanism that generates a vmcore file for analysis. By using the kexec system call, it boots into a reserved capture kernel without a reboot to save the crashed kernel’s memory to a file.

Important

A kernel crash dump can be the only information available if a system failure occur. Therefore, operational kdump is important in mission-critical environments. You must regularly update and test kexec-tools, kdump-utils, and makedumpfile packages in your normal kernel update cycle. This is important when you install new kernel features.

If you have multiple kernels on a machine, you can enable kdump for all installed kernels or for specified kernels only. When you install kdump, the system creates a default /etc/kdump.conf file. /etc/kdump.conf includes the default minimum kdump configuration, which you can edit to customize the kdump configuration.

16.2. Installing kdump using Anaconda

To configure kdump during an interactive installation, use the Anaconda installer’s graphical interface. With this feature, you can enable kdump and reserve the necessary memory.

Procedure

  1. On the Anaconda installer, click KDUMP and enable kdump.
  2. In Kdump Memory Reservation, select Manual` if you must customize the memory reserve.
  3. In KDUMP > Memory To Be Reserved (MB), set the required memory reserve for kdump.

16.3. Installing kdump on the command line

To enable kdump when it is not installed by default, such as in custom Kickstart installations, install the required packages and confirm the installation.

Prerequisites

  • An active Red Hat Enterprise Linux subscription.
  • A repository containing the kexec-tools, kdump-utils, and makedumpfile packages for your system CPU architecture.
  • Fulfilled requirements for kdump configurations and targets. For details, see Supported kdump configurations and targets.

Procedure

  1. Check if kdump is installed on your system:

    # rpm -q kexec-tools kdump-utils makedumpfile
  2. If the kdump is not installed, install required packages:

    # dnf install kexec-tools kdump-utils makedumpfile
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima