iSCSI connection error (1020)

This was so overlooked : Copying one VM Box and run both of them and seeing that iSCSI was slow due to many errors.

After changing the initiator name, iSCSI shows improvements.

For the 1020 errors, I was asking if you had multiple initiators using the same name in /etc/iscsi/initiatorname.iscsi connected to the same target. For this it looked like the target would disconect us, we would reconnect, then the target would disconnect us again and we would reconnect and we would keep doing that. This happens sometimes when you copy over your iscsi settings from one box, and also copy the /etc/iscsi/initiatorname.iscsi file (the value in that needs to be uniqueue for each initaitor).

Before :
=====
[root@racnode1 log]# hdparm -tT /dev/iscsi/fra1/part

/dev/iscsi/fra1/part:
 Timing cached reads:   18628 MB in  2.00 seconds = 9323.49 MB/sec
 Timing buffered disk reads:   18 MB in  3.70 seconds =   4.87 MB/sec
 

[root@racnode1 log]# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   12732 MB in  1.99 seconds = 6383.92 MB/sec
 Timing buffered disk reads:   10 MB in  3.01 seconds =   3.32 MB/sec
[root@racnode1 log]#



After :
=====

[root@racnode1 log]# hdparm -tT /dev/iscsi/fra1/part

/dev/iscsi/fra1/part:
 Timing cached reads:   25468 MB in  2.00 seconds = 12751.07 MB/sec
 Timing buffered disk reads:   56 MB in  3.47 seconds =  16.12 MB/sec
 

[root@racnode1 log]# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   23468 MB in  2.00 seconds = 11747.45 MB/sec
 Timing buffered disk reads:   92 MB in  3.06 seconds =  30.09 MB/sec
[root@racnode1 log]#
 

Comments