Create an initial RAM disk image file for the kdump function

Dynamic Link Manager (for Linux®) User Guide

Version
9.0.x
Audience
anonymous
Part Number
MK-92DLM113-64
ft:lastEdition
2025-11-06

Create an initial RAM disk image file for the kdump function. This file will be used by the second kernel when a kernel dump is collected.

  1. Restart the host.

    # shutdown -r now
  2. After the host restarts, log in as a user with root privileges.

  3. If the /var/crash/hdlm directory does not exist, use the mkdir command to create the directory.

    # mkdir /var/crash/hdlm
  4. Check the definition of hdlm_dracut in /etc/opt/DynamicLinkManager/hdlm.conf.

    If hdlm_dracut=n is defined, change it to hdlm_dracut=y. If hdlm_dracut is not defined, add hdlm_dracut=y.

  5. Restart the kdump service, and then create an initial RAM disk image file for the kdump function.

    # touch /etc/kdump.conf
    # systemctl restart  kdump.service
    #
    Note

    Do not change the definition of hdlm_dracut (hdlm_dracut=y) in /etc/opt/DynamicLinkManager/hdlm.conf.

  6. Verify that the initial RAM disk image file was created.

    # ls -l /boot/initrd-`uname -r`kdump.img
    -rw-------. 1 root root 6499431  mmm dd hh:mm /boot/initrd-2.6.32-754.el6.x86_64kdump.img

    Check the displayed update time of the file.

  7. Restart the host.

    # shutdown -r now