使用iSCSI存储时报错(openfiler模拟)

[root@single Packages]# iscsiadm -m discovery -t st -p 192.168.188.2
iscsiadm: cannot make connection to 192.168.188.2: Connection refused
iscsiadm: cannot make connection to 192.168.188.2: Connection refused
iscsiadm: cannot make connection to 192.168.188.2: Connection refused

解决:到openfiler服务器上

[root@lmopenfiler ~]# vi /etc/initiators.deny 

# PLEASE DO NOT MODIFY THIS CONFIGURATION FILE!
#       This configuration file was autogenerated
#       by Openfiler. Any manual changes will be overwritten
#       Generated at: Tue Oct 13 15:43:46 CST 2015

<span style="color:#FF0000;">#iqn.1994-05.com.redhat:69fabc5d25f ALL
</span>

# End of Openfiler configuration
重启了一下服务器,搞定:
[root@single Packages]# iscsiadm -m discovery -t st -p 192.168.188.2
192.168.188.2:3260,1 iqn.1994-05.com.redhat:69fabc5d25f


你可能感兴趣的:(iSCSI)