dave wrote:
> Can anyone tell me why the SCSI layer says the device is not ready
> when iscsiadm reports it is logged in?
> 
> Can I manually online the device? How should I recover from here?
> 

You can do

echo running > /sys/block/sdX/device/state

but you might not want to because the device may not be back.


> Is this a known problem, and has it been fixed in newer open-iscsi
> versions?

Are you using a older version of the sun target?

> 
> Mar 18 18:21:33 eq1-vz2 kernel:  connection1:0: detected conn error
> (1011)
> Mar 18 18:21:36 eq1-vz2 kernel:  session1: host reset succeeded


When we log back in we tell scsi-ml that we are ok.

> Mar 18 18:22:16 eq1-vz2 kernel: sd 6:0:0:0: scsi: Device offlined -
> not ready after error recovery

scsi-ml will send a Test unit ready (TUR) command to check that the 
device is ready to go. The TUR seems to be failing and so the scsi layer 
sets the device offline.

I think there was some target issue and was fixed in newer ones.

If you can easily replicate this then you should take wireshark/ethereal 
trace and send the trace here so we can see why the TUR failed and make 
sure it is not our fault before you go to the trouble of updating.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to