Changes between Version 7 and Version 8 of LSIFusionMPTSAS2


Ignore:
Timestamp:
02/23/12 00:03:57 (13 years ago)
Author:
Adam Cécile
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LSIFusionMPTSAS2

    v7 v8  
    131131[[BR]]Use the [http://hwraid.le-vert.net/newticket ticket system] to contact me.
    132132
     133== 3.3. S.M.A.R.T and such ==
     134
     135Disks' SMART can be monitored trough an SCSI generic device.
     136
     137You need to make sure SCSI generic device driver is loaded (and will be loaded at boot). On Debian based system, simply run:
     138{{{
     139modprobe sg
     140echo sg >> /etc/modules
     141}}}
     142
     143You can now try to run smartctl against one of the scsi generic devices (you will have to figure out by yourself which one to use):
     144{{{
     145server:~# smartctl -a /dev/sg1
     146smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
     147Home page is http://smartmontools.sourceforge.net/
     148
     149Device: SEAGATE  ST3600057SS      Version: ES64
     150Serial number: 6SL0D4C3
     151Device type: disk
     152Transport protocol: SAS
     153Local Time is: Wed Feb 22 23:57:28 2012 CET
     154Device supports SMART and is Enabled
     155Temperature Warning Disabled or Not Supported
     156SMART Health Status: OK
     157
     158Current Drive Temperature:     32 C
     159Drive Trip Temperature:        68 C
     160
     161[...]
     162}}}
     163
     164You can now edit '''/etc/smartd.conf''' and comment the "DEVICESCAN" line and add specific configuration for each drive, like the example below:
     165{{{
     166# Monitor LSI's disk SMART through SCSI generic
     167/dev/sg1 -d removable -a -s L/../../3/02
     168/dev/sg2 -d removable -a -s L/../../3/03
     169}}}
     170
     171Restart smartd and check syslog...
     172{{{
     173Feb 23 00:00:00 server smartd[29653]: Device: /dev/sg1, opened
     174Feb 23 00:00:00 server smartd[29653]: Device: /dev/sg1, is SMART capable. Adding to "monitor" list.
     175Feb 23 00:00:00 server smartd[29653]: Device: /dev/sg2, opened
     176Feb 23 00:00:01 server smartd[29653]: Device: /dev/sg2, is SMART capable. Adding to "monitor" list.
     177Feb 23 00:00:01 server smartd[29653]: Monitoring 0 ATA and 2 SCSI devices
     178}}}
    133179
    134180[[BR]]