On 05/23/2015 02:53 AM, justopeniscsi wrote: > Hello open-iscsi members, > > now I meet the question, this question log is below: > *May 23 15:21:24 linuxhost kernel: connection14:0: detected conn error > (1021) * > *May 23 15:21:24 linuxhost kernel: connection14:0: detected conn error > (1021) * > *May 23 15:21:25 linuxhost iscsid: Kernel reported iSCSI connection 14:0 > error (1021 - ISCSI_ERR_SCSI_EH_SESSION_RST: Session was dropped as a > result of SCSI error recovery) state (3)* > *May 23 15:21:25 linuxhost iscsid: Kernel reported iSCSI connection 14:0 > error (1021 - ISCSI_ERR_SCSI_EH_SESSION_RST: Session was dropped as a > result of SCSI error recovery) state (3)* > *May 23 15:21:28 linuxhost iscsid: connection14:0 is operational after > recovery (1 attempts)May 23 15:21:28 linuxhost iscsid: connection14:0 is > operational after recovery (1 attempts)* > *May 23 15:21:57 linuxhost kernel: connection12:0: detected conn error
As you figured out, those messages mean scsi commands are timing out and we ended up dropping the session to try and unjam the session. > change scsi device > timeout, echo 300 > > /sys/block/sdm/device/timeout At 5 minutes, it means something is probably wrong with the backing device you are using for stgt. What is it? A local sata/scsi disk or some sort of remote disk like drbd, rbd, etc? -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.