openfiler2.9 iscsiadm No portals found

1  描述

主机名

IP地址

描述

系统版本

localhost

192.168.12.100

RAC共享存储openfiler

openfileresa-2.99.1-x86_64

node1

192.168.12.11

RAC 节点1

rhel-server-6.5-x86_64

搭建RAC测试环境,使用openfiler 做独立的共享存储服务器。配置完openfiler iscsi服务后在RAC node1上运行iscsiadm discovery参数是报如下错误:

[root@node1 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.12.100

iscsiadm: No portals found

[root@node1 ~]#

使用telnet命令检查openfiler端口开放情况发现3260端口已经开放

[root@node1 ~]# telnet 192.168.12.100 3260

Trying 192.168.12.100...

Connected to 192.168.12.100.

Escape character is '^]'.

2  解决方法

在openfiler12主机修改/etc/initiators.deny文件。将文件中全部行注释掉。如下:

[root@localhost ~]# cat /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 Jun 22 19:39:42 CST 2014

 

#iqn.2006-01.com.openfiler:tsn.99c16437c079 ALL

 

 

# End of Openfiler configuration

 

[root@localhost ~]#

 

做完上面操作后到node1运行iscsiadm discovery命令得到正确返回结果。

[root@node1 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.12.100

192.168.12.100:3260,1 iqn.2006-01.com.openfiler:tsn.99c16437c079

192.168.70.100:3260,1 iqn.2006-01.com.openfiler:tsn.99c16437c079

3  资料参考引用

在openfiler 2.3版本中并未出现上述未发现端口情况。不知道到2.9中犯了哪门子毛病。

本文参考下面的链接的解决方式,对此问题的解决原理依然不明。

http://blog.csdn.net/tianlesoftware/article/details/8007658

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11780477/viewspace-1196815/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/11780477/viewspace-1196815/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值