Iscsiadm: I / O login failed, failed to get PDU

I am trying to detect the iscsi target and I get the following error:

iscsiadm: Connection to Discovery Address 172.18.1.4 closed
iscsiadm: Login I/O error, failed to receive a PDU

      

My target config is this:

<target iqn.2012-4.com.mylab:first >
    backing-store /dev/vgsrv/storage
    initiator-address 172.18.1.1
</target>

      

Here are my details:

my initiator IP : 172.18.1.4
my target IP : 172.18.1.1
kernel : Linux 2.6.32-504.el6.x86_64 
iscsid version 6.2.0-873.13.el6

      

Any advice why I am facing this problem? All firewalls and ips are disabled.

+3


source to share


2 answers


Make sure you have configured the IP address of your target and initiator correctly. Then try running iscsiadm with a debug flag, for example:

sh # iscsiadm -m discovery -t st -d8 -p TARGETS_IP_ADDRESS



The debug output should help you track down your problem.

+4


source


Perhaps there is some confusion about IP addresses? This error:

Connection to Discovery Address 172.18.1.4 closed

      



This address should be the address of your target that iscsiadm connects (via iscsid) for discovery. But 172.18.1.4 is the address of your initiator, listed below "here is my data". However, in the configuration, you specify the initiator as 172.18.1.1.

+2


source







All Articles