Spelic, on 01/05/2011 09:56 PM wrote:
> I am cc-ing the open-iscsi and scst people to see if they can suggest a 
> way to debug the iscsi one. In particular it would be very interesting 
> to get the number of commands received and replied from target side, and 
> match it to the number of commands submitted from initiator side. (but I 
> suspect these status variables do not exist) If target side says it has 
> already replied, but initiator side sees the reply after 1 second... 
> that would be very meaningful. The bad thing is that I do not have much 
> time to debug this :-(

For SCST you can enable "scsi" logging. Then you will see all the coming
SCSI commands and responses for them in the kernel log. To deal with the
large volume of logs this facility can produce, you will need to switch
your logging application (syslogd?) into async mode (no fsync after each
logged line).

Vlad

-- 
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.

Reply via email to