在kdumpconfiguration过程中,我们需要手动创build一个分区,或者在etc/kdump.conf (例如: ext3 /dev/sda4 )中自动创build分区。
# cat /etc/kdump.conf ext3 /dev/sda4
通过上面的设置,设备/dev/sda4会自动挂载崩溃(捕获)内核。
指定的分区不会自动创build,它将需要存在,并且可以使用指定的文件系统types与安装程序一起安装。 从kdump.conf手册页 :
Options <fs type> <partition> Will mount -t <fs type> <partition> /mnt and copy /proc/vmcore to /mnt/var/crash/%DATE/. NOTE: <partition> can be a device node, label or uuid.