iscsiadm: No portals found

本文介绍了解决iscsi探测时出现'Noportalsfound'错误的方法。通过编辑/etc/initiators.deny文件,注释掉限制性配置,使得iscsi能够成功发现目标。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

   在探测iscsi的时候出现如下错误:

[root@Rac-two ~]# iscsiadm -m discovery -t sendtargets -p 192.168.2.11:3260
[  OK  ] iscsid: [  OK  ]
iscsiadm: No portals found
[root@Rac-two ~]#

解决办法:

[root@openfiler1 ~]# more /etc/initiators.allow

# PLEASE DO NOT MODIFY THIS CONFIGURATION FILE!
#       This configuration file was autogenerated
#       by Openfiler. Any manual changes will be overwritten
#       Generated at: Sun Feb 9 15:51:02 CST 2014

iqn.2006-01.com.openfiler:tsn.0448d623a7b0  192.168.2.112/24, 192.168.2.111/24

# End of Openfiler configuration

[root@openfiler1 ~]# more /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: Sun Feb 9 15:51:02 CST 2014

iqn.2006-01.com.openfiler:tsn.0448d623a7b0 ALL


# End of Openfiler configuration

[root@openfiler1 ~]# 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: Sun Feb 9 15:51:02 CST 2014

#iqn.2006-01.com.openfiler:tsn.0448d623a7b0 ALL


# End of Openfiler configuration

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值