mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The NGDump dracut module is required to build an initramfs image to be used with NGDump stand-alone dump. NGDump stand-alone dump does not use a pre-built initramfs image in contrast to SCSI stand-alone dump. Instead, an initramfs image is built with dracut if NGDump stand-alone dump is installed on a NVMe partition. The NGDump dracut module ensures that all necessary tools are present within the built initramfs and a dump of /proc/vmcore is initiated to the chosen NVMe partition when the installed dumper is IPLed. The NGDump dracut module installs a new systemd service and a dump script into dumper initramfs. The systemd init process starts the NGDump service at boot shortly after the initialization of the dump target device. The NGDump systemd service, in its turn, starts the dump script provided by the new dracut module. The dump script mounts then the dump target device, creates a copy of /proc/vmcore with the makedumpfile tool on it, and then shuts down the system. The NGDump dracut module can be used on any Linux distribution which supports dracut. But the primary targets are: - Fedora - RHEL - SLES Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com> Acked-by: Alexander Gordeev <agordeev@linux.ibm.com> Tested-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>