Difference between revisions of "SMARTD"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
 
Line 1: Line 1:
== Smartctl ==
+
== Status ==
 
To read smart status of hard disks attached to a 3ware raid controller, the <code>-d 3ware,N</code> flag needs to be passed, where N is the disk number. An example from gourd: <code>smartctl -a -d 3ware,5 /dev/twe0</code>
 
To read smart status of hard disks attached to a 3ware raid controller, the <code>-d 3ware,N</code> flag needs to be passed, where N is the disk number. An example from gourd: <code>smartctl -a -d 3ware,5 /dev/twe0</code>
 
/dev/twe0 indicates the first 3ware 6/7/8000-series controller.
 
/dev/twe0 indicates the first 3ware 6/7/8000-series controller.
 +
== Testing ==
 +
To test a hard disk, use <code>smartctl -t <nowiki><test></nowiki> /dev/?d?</code>. Valid tests for most drives are short (~2 minutes) and long (10's of minutes).
 +
 +
To view the results of the test, use <code>smartctl -l selftest /dev/?d?</code>.

Revision as of 18:29, 28 June 2007

Status

To read smart status of hard disks attached to a 3ware raid controller, the -d 3ware,N flag needs to be passed, where N is the disk number. An example from gourd: smartctl -a -d 3ware,5 /dev/twe0 /dev/twe0 indicates the first 3ware 6/7/8000-series controller.

Testing

To test a hard disk, use smartctl -t <test> /dev/?d?. Valid tests for most drives are short (~2 minutes) and long (10's of minutes).

To view the results of the test, use smartctl -l selftest /dev/?d?.