targetcli和python-rtslib的更新将属性optimal_sector更改为512,并从配置中删除了属性fabric_max_sectors。
目标正在运行,正在侦听端口 3260,但客户端 (Windows) 无法连接。
事件日志:
"Initiator failed to connect to the target. Target IP address and TCP Port number are given in dump data" Source: iscsiprt, eventID 1 error
和
"iSCSI discovery via SendTargets failed with error code 0xefff0003 to target portal *ip address 0003260 Root\ISCSIPRT\0000_0." MSiSCSI eventID 113 warning
targetd 也不起作用:
targetd.service - targetd storage array API daemon
Loaded: loaded (/usr/lib/systemd/system/targetd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2016-08-28 17:10:58 CEST; 7s ago
Process: 39839 ExecStart=/usr/bin/targetd (code=exited, status=1/FAILURE)
Main PID: 39839 (code=exited, status=1/FAILURE)
Aug 28 17:10:58 server targetd[39839]: File "/usr/bin/targetd", line 24, in <module>
Aug 28 17:10:58 server targetd[39839]: sys.exit(main())
Aug 28 17:10:58 server targetd[39839]: File "/usr/lib/python2.7/site-packages/targetd/main.py", line 209, in main
Aug 28 17:10:58 server targetd[39839]: load_config(default_config_path)
Aug 28 17:10:58 server targetd[39839]: File "/usr/lib/python2.7/site-packages/targetd/main.py", line 170, in load_config
Aug 28 17:10:58 server targetd[39839]: config[key] = value
Aug 28 17:10:58 server targetd[39839]: TypeError: 'str' object does not support item assignment
Aug 28 17:10:58 server systemd[1]: targetd.service: main process exited, code=exited, status=1/FAILURE
Aug 28 17:10:58 server systemd[1]: Unit targetd.service entered failed state.
Aug 28 17:10:58 server systemd[1]: targetd.service failed.
yum 降级不起作用。 SELinux 已禁用。
我根本不熟悉iscsi配置。目标和目标有什么区别? Targeted 提到了哪个键?
谢谢。
centos7.2
答案1
最后证明是网管搞砸了网络绑定。它没有被禁用并且是由更新过程启动的。停止网络管理器并重新创建网络绑定解决了问题。