On 07/26/2010 04:36 PM, Sean S wrote:
Thanks for the patch Mike. Below is the output from a failure when
running with the patch. Any thoughts?
[<f8bf0876>] iscsi_conn_failure+0x10/0x69 [libiscsi]
[<f9bf202d>] iscsi_eh_abort+0x2f1/0x406 [libiscsi]
[<f885d378>] __scsi_try_to_abort_cmd+0x19/0x1a [scsi_mod]
[<f885e85d>] scsi_error_handler+0x24d/0x422 [scsi_mod]
[<c041f7ea>] complete+0x2b/0x3d
[<f885e610>] scsi_error_handler+0x0/0x422 [scsi_mod]
[<c0435f65>] kthread+0xc0/0xeb
[<c0435ea5>] kthread+0x0/0xeb
[<c0405c3b>] kernel_thread_helper+0x7/0x10
Each scsi command has a timeout (see /sys/block/sdX/device/timeout). The
above dump shows that a scsi command is timing out. This causes the scsi
layer to have the driver, iscsi_tcp in this case, to try and abort the
command. It looks like the abort timed out too, and so the iscsi layer
decided to escalate the eh and failed the iscsi session/connection.
session1: session recovery timed out after 400 secs
The iscsi layer tried to log back in for recovery/replacement timeout
seconds, but could not.
Did you see anything from iscsid about why it could not log in? iscsid
writes to /var/log/messages by default.
sd 0:0:0:0: scsi: Device offlined - no ready after error recovery
Because the replacement/recovery timeout fired, the iscsi layer decided
it was time to give up and tells the scsi layer the disks are not
recoverable, and so we these messages:
sd 0:0:0:0: scsi: Device offlined - no ready after error recovery
Does the session/connection ever re-login (you would see some message in
/var/log/messages about connection X:Y is operational after recovery (Z
attempts)?
On the target box check out /var/log/messages. Is the target even up
still? Did it segfault?
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/open-iscsi?hl=en.