Vsphere 8.0 4k 块大小 NVMeoF 注册设备失败

Vsphere 8.0 4k 块大小 NVMeoF 注册设备失败

我遇到了 NVMe-oF 问题。

我尝试通过 TCP 使用块大小为 4K 的 NVMe-oF 驱动器作为数据存储。执行命令“esxcli nvme fabrics connect -a -i <ip_addresses> -p <port_number> -s <subsystem_nqn>”后,设备未显示,创建数据存储时无法选择。

vmkernel.log 中的相关消息如下:

2022-10-14T02:57:45.566Z In(182) vmkernel: cpu4:262523)ScsiDeviceIO: 10314: QErr is correctly set to 0x0 for device eui.3ba5b136f6c441c2a1847041ad8c3826.
2022-10-14T02:57:45.567Z Wa(180) vmkwarning: cpu4:262523)WARNING: NvmeScsi: 196: SCSI opcode 0x1a (0x4548c1b979c0) on path vmhba66:C0:T0:L0 to namespace eui.3ba5b136f6c441c2a1847041ad8c3826 failed with NVMe error status: 0x2 translating to SCSI error H:0x0
2022-10-14T02:57:45.567Z Wa(180) vmkwarning: cpu4:262523)WARNING: D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0
2022-10-14T02:57:45.567Z Wa(180) vmkwarning: cpu4:262174)WARNING: ScsiDeviceIO: 4422: ModeSense 0x1a request failed - blocking page:0x1c subpage:0x2 eui.3ba5b136f6c441c2a1847041ad8c3826
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDeviceIO: 10821: Could not detect setting of sitpua for device eui.3ba5b136f6c441c2a1847041ad8c3826. Error Not supported.
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDevice: 2875: Failing registration of device 'eui.3ba5b136f6c441c2a1847041ad8c3826': Unsupported device attributes isLocal:0, isSSD:1, isNVME:1 isNmpOrHppPlugin:1
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDevice: 5260: Failed to Unregister 'REPORTED LUNS DATA CHANGED' unit attention for device:eui.3ba5b136f6c441c2a1847041ad8c3826. Reason: Not found
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDevice: 5270: Failed to Unregister 'MODE PARAMETERS CHANGED' unit attention for device:eui.3ba5b136f6c441c2a1847041ad8c3826. Reason: Not found
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDevice: 5280: Failed to Unregister 'CAPACITY DATA HAS CHANGED' unit attention for device:eui.3ba5b136f6c441c2a1847041ad8c3826. Reason: Not found
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDevice: 5290: Failed to Unregister 'ASYMMETRIC ACCESS STATE CHANGED' unit attention for device:eui.3ba5b136f6c441c2a1847041ad8c3826. Reason: Not found
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDevice: 5300: Failed to Unregister 'INQUIRY PARAMETERS CHANGED' unit attention for device:eui.3ba5b136f6c441c2a1847041ad8c3826. Reason: Not found
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDevice: 5310: Failed to register for 'TARGET MICRO CODE CHANGED' unit attention for device:eui.3ba5b136f6c441c2a1847041ad8c3826. Reason: Not found
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDevice: 5320: Failed to Unregister 'POWER ON RESET' unit attention for device:eui.3ba5b136f6c441c2a1847041ad8c3826. Reason: Not found
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)ScsiDevice: 5392: Unregistered device 'eui.3ba5b136f6c441c2a1847041ad8c3826' [0x4303c7152680]
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)PsaStorEvents: 700: Event Subsystem: Device Events, Destroyed!
2022-10-14T02:57:45.567Z In(182) vmkernel: cpu4:262523)PsaStorEvents: 700: Event Subsystem: Device Events - Internal, Destroyed!
2022-10-14T02:57:45.567Z Wa(180) vmkwarning: cpu4:262523)WARNING: HPP: HppRegisterDevice:3430: Failed to register device with uid 'eui.3ba5b136f6c441c2a1847041ad8c3826': Not supported

我们还尝试使用块大小为 512K 的 NVMe-oF 驱动器,该驱动器可以正常工作,并且可以用作数据存储

有人知道 vsphere8 是否支持 4K 块大小 NVMe 和 NVMe-oF 吗?如果 vsphere8 支持 4K 块大小 NVMe 和 NVMe-oF,需要做什么来将 NVMe 和 NVMe-oF 设置为数据存储?

谢谢

相关内容