Bom dia pessoal,
Estou a dias pesquisando na net e não consigo fazer o ISCSI funcionar no CentOS ou no RH5, nos dois tenho os mesmos problemas. Acredito que não seja configuração da storage, pois no Windows Server 2008 e no VMware funcionou perfeitamente.
Versão do meu kernel: Linux servidor 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Versão ISCSI iscsi-initiator-utils-6.2.0.872-6.el5.i386.rpm
Faço o discovery ~]# iscsiadm -m discovery -t sendtargets -p 192.168.130.101 192.168.130.101:3260,1 iqn.1984-05.com.dell:powervault.md3200i.6782bcb0001bb79e000000004d84cace 192.168.130.102:3260,2 iqn.1984-05.com.dell:powervault.md3200i.6782bcb0001bb79e000000004d84cace 192.168.131.102:3260,2 iqn.1984-05.com.dell:powervault.md3200i.6782bcb0001bb79e000000004d84cace 192.168.132.102:3260,2 iqn.1984-05.com.dell:powervault.md3200i.6782bcb0001bb79e000000004d84cace 192.168.133.102:3260,2 iqn.1984-05.com.dell:powervault.md3200i.6782bcb0001bb79e000000004d84cace
Tento fazer o login e trava: ~]# iscsiadm -m node -T iqn.1984-05.com.dell:powervault.md3200i.6782bcb0001bb79e000000004d84cace -p 192.168.130.101 --login Logging in to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.6782bcb0001bb79e000000004d84cace, portal: 192.168.130.101,3260]
Nos logs aparece o seguinte erro:
~]# tail /var/log/messages Jun 13 09:07:44 saude kernel: iscsi: invalid session 0. Jun 13 09:07:45 saude iscsid: could not read session targetname: 5 Jun 13 09:07:45 saude iscsid: could not find session info for session1 Jun 13 09:07:45 saude iscsid: Could not set session0 priority. READ/WRITE throughout and latency could be affected. Jun 13 09:07:45 saude iscsid: Received iferror -22: Invalid argument. Jun 13 09:07:45 saude iscsid: Can't create connection. Jun 13 09:07:45 saude iscsid: Received iferror -22: Invalid argument. Jun 13 09:07:45 saude iscsid: can not safely destroy session 0 Jun 13 09:08:01 saude iscsid: Received iferror -22: Invalid argument. Jun 13 09:08:01 saude iscsid: can't bind conn 0:0 to session 0, retcode 1 (115
]# dmesg -c cxgb3i: tag itt 0x1fff, 13 bits, age 0xf, 4 bits. iscsi: registered transport (cxgb3i) Broadcom NetXtreme II CNIC Driver cnic v2.0.0 (March 21, 2009) Broadcom NetXtreme II iSCSI Driver bnx2i v2.0.1e (June 22, 2009) iscsi: registered transport (bnx2i) iscsi: registered transport (iser) scsi2 : iSCSI Initiator over TCP/IP iscsi: invalid session 0.
Alguém tem alguma idéia de como posso proceder para resolver?
/
Patrick /