删除无法访问的目标门户后,iSCSI错误仍然存​​在

我错误地在我们的一台虚拟服务器上的iSCSI Initiator中input了一个iSCSI目标入口地址,这个虚拟服务器在iSCSInetworking范围中没有地址。 这导致以下错误/警告出现在事件日志中:

Log Name: System Source: MSiSCSI Event ID: 113 Level: Warning Description: iSCSI discovery via SendTargets failed with error code 0xefff0003 to target portal *192.168.23.42 0003260 Root\ISCSIPRT\0000_0 . Log Name: System Source: iScsiPrt Event ID: 1 Level: Error Description: Initiator failed to connect to the target. Target IP address and TCP Port number are given in dump data. Log Name: System Source: iScsiPrt Event ID: 70 Level: Error Description: Error occurred when processing iSCSI logon request. The request was not retried. Error status is given in the dump data. 

到目前为止,这是预期的行为,所以我按照MSKB 976072所述从iSCSI Initiator中移除了门户。 但是,即使iSCSI启动器GUI和iscscli显示任何门户(或iSNS服务器),错误/警告iscscli每小时显示一次:

 C:\>iscsicli ListTargetPortals Microsoft iSCSI Initiator Version 6.1 Build 7601 The operation completed successfully. C:\>iscsicli ListiSNSServers Microsoft iSCSI Initiator Version 6.1 Build 7601 No iSNS Servers The operation completed successfully. 

重新启动服务器后问题仍然存在。 通过devmgmt.msc卸载Microsoft iSCSI Initiator设备,并像下面这样更改Initiator参数:

 [HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}] "MaxPendingRequests"=dword:00000001 "MaxConnectionRetries"=dword:00000001 "MaxRequestHoldTime"=dword:00000005 

也没有帮助。 每次更改之后都会重新启动。

禁用设备确实可以防止错误/警告重新出现,当然,但我宁愿不诉诸于此。

如何防止出现这些错误和警告(禁用启动器设备或重新安装服务器)? 我错过了什么?

环境:虚拟机在由SCVMM 2012pipe理的Hyper-V群集上运行。主机和来宾运行Windows Server 2008 R2 SP1。 物理机器是Dell PowerEdge M710HD刀片。

奇怪,并没有在这里重现。

我知道停止/禁用服务也不是一个选项? 如果你暂时net stop msiscsi ,这是否停止每小时事件?

作为一个疯狂的猜测,试着看看这个地址是否也不是以iSNS服务器的forms出现的,这个服务器的效果会非常相似:

 iscsicli ListiSNSServers 

还可以查看整个[HKLM\Software\Microsoft\Windows NT\CurrentVersion\ISCSI\Discovery]是否有任何意外的键(更多请点击http://blogs.msdn.com/b/san/archive/2008/07/27/microsoft -iscsi-software-initiator-isns-server-timers-quick-reference.aspx )。