使用 Emulex HBA 时,小型计算机系统接口 (SCSI) 命令失败并显示以下状态:存储启动器错误
search cancel

使用 Emulex HBA 时,小型计算机系统接口 (SCSI) 命令失败并显示以下状态:存储启动器错误

book

Article ID: 341092

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
免责声明:本文为 When using Emulex HBAs, small computer system interface (SCSI) commands fail with the status: Storage Initiator Error (1029456) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。


  • 使用 Emulex HBA 时,可能会在 vmkernel/vmkernel.log messages 日志文件中显示以下消息:

    • ESX/ESXi 4.x/5.x:

      NMP: nmp_CompleteCommandForPath: Command 0x28 (0x4100bb1ace80) to NMP device "naa.60060480000190101925533030344332" failed on physical path "vmhba2:C0:T0:L9" H:0x7 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
      WARNING: NMP: nmp_DeviceRequestFastDeviceProbe: NMP device "naa.60060480000190101925533030344332" state in doubt; requested fast path state update...
      ScsiDeviceIO: 747: Command 0x28 to device "naa.60060480000190101925533030344332" failed H:0x7 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.

    • ESX/ESXi 3.5:

      StorageMonitor: 196: vmhba1:0:17:0 status = 0/7 0x0 0x0 0x0
      WARNING: SCSI: 2896: CheckUnitReady on vmhba3:1:1 returned Storage initiator error 0x7/0x0 sk 0x0 asc 0x0 ascq 0x0
      StorageMonitor: 196: vmhba2:0:6:0 status = D:0x0/H:0x7 0x0 0x0 0x0

  • 这可能会导致显示因存储启动器错误而报告故障的不同代码片段。例如:

    J3: 2158: Aborting txn 0x4100af9defb0 due to failure pre-committing: Storage initiator error
    WARNING: Swap: 2214: Failed to extend swap file: Storage initiator error, fileHandle 699051, from 0KB to 16777216KB.
    WARNING: World: vm 78925: 1111: init fn memsched failed with: Storage initiator error!
    Fil3: 977: Sync READ error ('') (ioFlags: 8) : Storage initiator error
    Cow: 1885: Sync IO issued on cow disk failed with Storage initiator error
    WARNING: Cow: 1064: COW Commit failed with Storage initiator error

  • 无法使用 Emulex HBA 在位于 ESX/ESXi 主机的虚拟机上配置 NPIV。


Environment

VMware ESXi 4.1.x Embedded
VMware ESXi 3.5.x Embedded
VMware vSphere ESXi 5.0
VMware ESXi 4.1.x Installable
VMware ESXi 4.0.x Installable
VMware vSphere ESXi 5.5
VMware ESX 4.0.x
VMware ESX Server 3.0.x
VMware vSphere ESXi 5.1
VMware ESX 4.1.x
VMware ESXi 4.0.x Embedded
VMware ESXi 3.5.x Installable
VMware ESX Server 3.5.x

Cause

在 vmkernel 日志消息中,H:0x7 针对主机状态指示存储启动器错误。有关详细信息,请参见 Understanding SCSI host side NMP errors/conditions in ESX 4.x (1029039)
注意D:0x0 针对设备状态指示无错误,P:0x0 针对插件状态指示无错误。
对于此状态,没有感知密钥或附加感知代码/ASC 限定符信息,因为这是主机端状况。
如果受影响的主机正在使用具有旧的或过时固件的 Emulex 2Gb、4Gb 和 8Gb HBA(包括已进行品牌重塑的 Emulex HBA),则可能会出现此问题。
2GB、4GB、8GB 和已进行品牌重塑的 Emulex HBA 的已知过时固件版本如下:
  • 8GB HBA 固件版本:1.11*、2.00*
  • 4GB HBA 固件版本:2.10*、2.5*、2.7* 和 2.80*
  • 2GB HBA 固件版本:1.8*、1.90* 和 1.91*
您可以通过在 ESX/ESXi 主机上的 /proc/scsi/lpfc820 中检查驱动程序节点来确定固件版本。

注意:上述固件版本还具有 NPIV 相关问题,这可能会阻止对其进行正确配置。

Resolution

注意:VMware 未明确指明所需的 HBA 固件(这是阵列/交换机供应商的要求),但更新到 Emulex 固件已经解决了这些启动器错误。

2GB、4GB、8GB 和已进行品牌重塑的 Emulex HBA 的已知良好固件版本如下:
  • 8GB HBA 固件版本:2.01 a3
  • 4GB HBA 固件版本:2.82 a4
  • 2GB HBA 固件版本:1.92 a1
这些固件版本解决了这些存储启动器错误以及配置 NPIV 时出现的问题。请联系供应商,以选择适用于您的主机的固件版本。

注意
  • 对于 8GB HBA,还必须确保 lpfc820 驱动程序为 8.2.2.121.45 或更高版本。
  • 对 Emulex HBA 进行品牌重塑的供应商可能尚未在其网站上许可此最新固件。Emulex 站点上提供的固件需要品牌重塑卡。有关建议/已获认证的硬件固件的详细信息,请直接咨询供应商。
如果所有 HBA 的固件均已升级且存储启动器错误仍然存在,请向 VMware 支持提出支持请求,并在问题描述中注明本知识库文章 ID。有关详细信息,请参见 How to File a Support Request


Additional Information

When using Emulex HBAs, small computer system interface (SCSI) commands fail with the status: Storage Initiator Error