Translated message

A translation of this page exists in English.

Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Why is kdump failing on systems with iSCSI storage?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
  • iSCSI based storage destination
    or
  • iSCSI root installation

Issue

  • Are iSCSI storage targets supported for use with kdump?
  • The kdump service does not work when directed to dump onto an iSCSI target.
  • The kdump service can also fail when configured on systems with iSCSI root.

  • Kdump是否支持iscsi存储

  • 当Kdump的导出目标盘是iscsi盘时,kdump不会工作
  • 当Kdump的root目录是iscsi设备时,kdump也不会工作

Resolution

  • Kdump is not officially supported on iSCSI targets. Please see What targets are supported for use with kdump? for further information on supported targets.

  • To work around this problem, you can use either an NFS or SSH based kdump configuration as described in How do I configure kexec/kdump on Red Hat Enterprise Linux?

  • To implement the NFS or SSH workarounds on an iSCSI root based system, after configuring a kdump target as described above, you should also consider the following:

    • If / and /boot reside on iSCSI storage, set disk_timeout 1 in /etc/kdump.conf (not available prior to Red Hat Enterprise Linux 5.5) to avoid the possibility of kdump hanging if they are not immediately available.

    • If /boot is on a separate partition, add the _rnetdev mount option for /boot in the file /etc/fstab

  • kdump从官方上讲是不支持iscsi设备的。可以参考以下文档来获取更多信息

  • 想要暂时解决这个问题,可以使用nfs或者ssh方法。在完成上述配置之后,以下几点需要注意
    • 如果/或者/boot是iscsi存储,在/etc/kdump.conf里(RHEL5.5以后的版本)把disk_timeout设置成1。这是为了防止kdump不能即使相应而造成的hang机情况
    • 如果/boot是单独分区,在/etc/fstab中/boot的那一行添加_rnetdev参数

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments