First, install 3ware "tw-cli" utilty with apt-get
from: http://hwraid.le-vert.net/
Now, show your RAID controllers
$ tw-cli show
Ctl Model (V)Ports Drives Units NotOpt RRate VRate BBU
------------------------------------------------------------------------
c0 9650SE-4LPML 4 4 1 0 1 1 -
Let's get more info about your controller c0
$ tw-cli /c0 show
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-10 OK - - 64K 931.303 OFF OFF
Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 465.76 GB 976773168 9VMM1ZJP
p1 OK u0 465.76 GB 976773168 WD-WCAYUE058748
p2 OK u0 465.76 GB 976773168 9QM7G2A0
p3 OK u0 465.76 GB 976773168 6VV0C527
Now, we can check reallocated sectors on disk p0
$ tw-cli /c0/p0 show rasect
/c0/p0 Reallocated Sectors = 0
It is possible to get more info from each disk:
- /cx/px show temperature
- /cx/px show spindlespd
- /cx/px show rasect
- /cx/px show pohrs
For temperature, spindle speed, reallocated sectors, and power-on hours, respectively. You may also use '/cx/px show all' for all of the drive attributes.