Hallo zusammen,
Ich mounte meine iSCSI Targets von einer CentOS 7.5 Maschine an meinen Server (Ubuntu Server 18.04.03). Soweit klappt das auch, doch wenn ich auf die Targets zugreife, dauert es erst mal ein paar Sekunden in denen nichts passiert, bis sich der Herr Computer dann doch mal entscheidet ein paar Daten zu übertragen ...
Ein Blick in die /var/log/syslog zeit massig:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Nov 13 06:23:06 athene kernel: [324985.874307] connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4376133312, last ping 4376134592, now 4376135872 Nov 13 06:23:06 athene kernel: [324985.876266] connection1:0: detected conn error (1022) Nov 13 06:23:07 athene iscsid: Kernel reported iSCSI connection 1:0 error (1022 - Invalid or unknown error code) state (3) Nov 13 06:23:07 athene kernel: [324986.898511] connection2:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4376133568, last ping 4376134848, now 4376136128 Nov 13 06:23:07 athene kernel: [324986.900477] connection2:0: detected conn error (1022) Nov 13 06:23:08 athene iscsid: Kernel reported iSCSI connection 2:0 error (1022 - Invalid or unknown error code) state (3) Nov 13 06:23:39 athene iscsid: connection1:0 is operational after recovery (3 attempts) Nov 13 06:23:40 athene iscsid: connection2:0 is operational after recovery (3 attempts) Nov 13 06:24:20 athene kernel: [325059.860951] connection2:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4376151808, last ping 4376153088, now 4376154368 Nov 13 06:24:20 athene kernel: [325059.862941] connection2:0: detected conn error (1022) Nov 13 06:24:21 athene iscsid: Kernel reported iSCSI connection 2:0 error (1022 - Invalid or unknown error code) state (3) Nov 13 06:24:24 athene kernel: [325063.957054] connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4376152832, last ping 4376154112, now 4376155392 Nov 13 06:24:24 athene kernel: [325063.959023] connection1:0: detected conn error (1022) Nov 13 06:24:25 athene iscsid: Kernel reported iSCSI connection 1:0 error (1022 - Invalid or unknown error code) state (3) Nov 13 06:24:57 athene iscsid: connection2:0 is operational after recovery (3 attempts) Nov 13 06:24:57 athene iscsid: connection1:0 is operational after recovery (3 attempts) |
Als der Server ebenfalls noch ein CentOS 7 war, gab's diese Fehler noch nicht ... und auch in der Console taucht ständig folgene Fehlermeldung auf:
1 2 | ping timeout of 5 secs expired, recv timeout 5, last rx 4376152832, last ping 4376154112, now 4376155392 ... |
Ich hab auch schon etwas - leider ohne Erfolg - getuned:
/etc/sysctl.conf
1 2 3 4 | ... # Disable tcp_window_scalingo to get rid of iscsi connection errors net.ipv4.tcp_window_scaling=0 net.ipv4.tcp_timestamps=0 |
/etc/iscsi/iscsid.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ... node.startup = automatic # Special values: # - If the value is 0, IO will be failed immediately. # - If the value is less than 0, IO will remain queued until the session # is logged back in, or until the user runs the logout command. #node.session.timeo.replacement_timeout = 120 node.session.timeo.replacement_timeout = 8640 # Time interval to wait for on connection before sending a ping. #node.conn[0].timeo.noop_out_interval = 5 node.conn[0].timeo.noop_out_interval = 0 # To specify the time to wait for a Nop-out response before failing # the connection, edit this line. Failing the connection will # cause IO to be failed back to the SCSI layer. If using dm-multipath # this will cause the IO to be failed to the multipath layer. #node.conn[0].timeo.noop_out_timeout = 5 node.conn[0].timeo.noop_out_timeout = 0 |
Die Timeout Meldungen bekomme ich aber immer noch ... und die Firewalls sind auf beiden Systemen ausgeschaltet ...
Jemand 'ne Idee ???