iSCSI Login negotiation failed

iSCSI related applications
Post Reply
lemoil
First post
Posts: 1
Joined: Tue Aug 25, 2020 4:27 pm

iSCSI Login negotiation failed

Post by lemoil » Tue Aug 25, 2020 4:53 pm

Hi,

I'm having issues with QNAP TS-873U running 4.4.3.1400 build 20200817 firmware.
iSCSI target runs fine for a day or two and then i'm getting following messages in dmesg:

Code: Select all

[235823.523821] iSCSI Login timeout on Network Portal 10.20.10.200:3260
[235823.530181] Unexpected ret: -104 send data 48
[235823.534613] tx_data returned -32, expecting 48.
[235823.539236] iSCSI Login negotiation failed.
[235858.429475] iSCSI Login timeout on Network Portal 10.20.10.200:3260
[235858.435912] Unexpected ret: -104 send data 48
[235858.440348] tx_data returned -32, expecting 48.
[235858.444962] iSCSI Login negotiation failed.
This message is reapeating as Windows 2012 R2 iSCSI initiator is trying to connect to it but fails. Restarting QNAP fix the issue but after a day iSCSI will be gone again.
I tried to restart iscsi target service:

Code: Select all

/etc/init.d/iscsitrgt.sh restart 
but it doesn't come back to prompt.
I opened another session and run following command:

Code: Select all

[~] # ps aux | grep "iscsi"
  533 admin      7232 D   /sbin/iscsi_util --unload
 6935 admin      7384 D   /sbin/iscsi_util --unload
12548 admin           SW  [iscsi_np]
12553 admin           SW  [iscsi_np]
12568 admin           SW< [iscsi_eh]
12628 admin      1500 S   /sbin/iscsid --config=/etc/config/iscsi/sbin/iscsid.conf --initiatorname=/etc/iscsi/initiatorname.iscsi
12629 admin      2736 S < /sbin/iscsid --config=/etc/config/iscsi/sbin/iscsid.conf --initiatorname=/etc/iscsi/initiatorname.iscsi
18316 admin       900 S   grep iscsi
As you can see it's getting stuck on running iscsi_util --unload

Another issue is that it seems iscsid is pointing to non-existing configuration files:

Code: Select all

[~] # ls -al /etc/config/ | grep "iscsi"
-rw-r--r--  1 admin administrators     37 2019-03-28 19:53 iscsi-init.conf
-rw-r--r--  1 admin administrators   2119 2020-08-24 11:45 iscsi_trgt.conf
-rw-r--r--  1 admin administrators   2119 2020-08-25 09:37 iscsi_trgt.conf.last
Any help appreciated
Thanks

User avatar
dolbyman
Guru
Posts: 20408
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: iSCSI Login negotiation failed

Post by dolbyman » Thu Aug 27, 2020 3:15 am

best to open a ticket with qnap

Post Reply

Return to “iSCSI – Target & Virtual Disk”