If after installing a new drive in a raid, you get a message that looks like this:
//server> info c10 Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-5 REBUILD-PAUSED 0% - 64K 1862.61 OFF OFF u1 RAID-5 OK - - 64K 931.303 ON OFF Port Status Unit Size Blocks Serial --------------------------------------------------------------- p0 OK u0 465.76 GB 976773168 WD-WCAPW2109877 p1 OK u0 465.76 GB 976773168 WD-WCAPW2283896 p2 OK u0 465.76 GB 976773168 WD-WCAPW1745426 p3 OK u0 465.76 GB 976773168 WD-WCAPW2222501 p4 DEGRADED u0 465.76 GB 976773168 WD-WMAYP5244596 p5 OK u1 465.76 GB 976773168 WD-WMAYP2574338 p6 OK u1 465.76 GB 976773168 WD-WCAPW5103350 p7 OK u1 465.76 GB 976773168 WD-WCAPW5251276
Quit tw_cli and run this from the command line:
[~]# ./tw_cli sched rebuild c10 enable
The raid should then start rebuilding immediately.
I think you could also run this from inside the tw_cli program, but I didn’t try it.
/c10 set rebuild=enable