mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The NGDump initramfs-tools 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 initramfs-tools if NGDump stand-alone dump is installed on a NVMe partition. The NGDump initramfs-tools 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 intramfs-tools module installs a configuration file and a dump script into dumper initramfs. This dump script starts at boot shortly after the initialization of the dump target device. It reads the aforementioned configuration file that contains the name of a dump partition to store a dump on. The dump script reads the configuration file, mounts then the dump target device, creates a copy of /proc/vmcore with the makedumpfile tool on it, and then shuts down the system. Ubuntu and Debian are the main Linux distributions targeted by this initramfs-tools module. 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>