Page 1 of 1

How to check raid status / rebuild status.

Posted: Thu Jul 19, 2012 3:48 pm
by a24uall
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.

Re: How to check raid status / rebuild status.

Posted: Fri Jul 20, 2012 9:23 am
by a24uall
I though to show you the output when the raid array is of good health too...

root@server [~]# /root/3ware/tw_cli info c0

Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-10 OK - - 64K 596.025 ON OFF

Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 498.09 GB 625142448 5QF2PNN1
p1 OK u0 498.09 GB 625142448 5QF2PNH2
p2 OK u0 498.09 GB 625142448 5QF26VQY
p3 OK u0 498.09 GB 625142448 5QF2PNFF

Name OnlineState BBUReady Status Volt Temp Hours LastCapTest
---------------------------------------------------------------------------
bbu On Yes OK OK OK 0 xx-xxx-xxxx

root@server [~]#