You can use the command below to get the raid status / rebuild status
/root/3ware/tw_cli info c0
Below is the output of the command when the
raid rebuild was in progress.
root@server [~]# /root/3ware/tw_cli info c0
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-10 REBUILDING 87 - 64K 596.025 ON OFF
Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 298.09 GB 625142448 5QF2PNN1
p1 OK u0 298.09 GB 625142448 5QF2PNH2
p2 DEGRADED u0 298.09 GB 625142448 5QF26VQY
p3 OK u0 298.09 GB 625142448 5QF2PNFF
Name OnlineState BBUReady Status Volt Temp Hours LastCapTest
---------------------------------------------------------------------------
bbu On Yes OK OK OK 0 xx-xxx-xxxx
root@server [~]#
RCmpl --> Is the raid rebuild status in percentage.