linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can we use SCSI error trace events to monitor SCSI hardware problems ?
@ 2013-12-23  3:28 Junliang Li
  2014-01-02 14:51 ` Hannes Reinecke
  0 siblings, 1 reply; 2+ messages in thread
From: Junliang Li @ 2013-12-23  3:28 UTC (permalink / raw)
  To: hare; +Cc: linux-scsi

Hello, Hannes

I found you owned a project on github named "md_monitor". It supports MD
array by using mdadm tool. But how about generic SCSI devices ? There is
a "scsi_dispatch_cmd_error" tracepoint in SCSI subsystem, from which we
can get something useful output via sysfs.  We can do more work in
userspace. Now I setup a tracepoint in "scsi_print_result" and trace
scsi cmd result. By reading host status and sense data, I can find out
anything wrong while executing SCSI commands. Does it make sense or it
could be better ?

Thanks,
Junliang Li


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-02 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-23  3:28 Can we use SCSI error trace events to monitor SCSI hardware problems ? Junliang Li
2014-01-02 14:51 ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).