挺有用的,mark一下

http://www.cyberciti.biz/faq/linux-log-all-scsi-events-to-syslog/

How can I log all SCSI events to syslog system under CentOS or Fedora or RHEL or Red hat Linux operating systems?

If you need scsi logging, use /proc/sys/dev/scsi/logging_level kernel variable. Set it as follows:

  • -1   - Enable scsi events to syslog.
  • 0    - Disable scsi events to syslog.

SCSI logging level

SCSI logging level 

相关文章: