How to check raid status / rebuild status.

Post Reply
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

How to check raid status / rebuild status.

Post 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.
[email protected] [~]# /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

[email protected] [~]#
RCmpl --> Is the raid rebuild status in percentage.
Arun
WebhostingDevelopment.com
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Re: How to check raid status / rebuild status.

Post by a24uall »

I though to show you the output when the raid array is of good health too...

[email protected] [~]# /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

[email protected] [~]#
Arun
WebhostingDevelopment.com
Post Reply

Return to “Basic Commands”