[~]# ./tw_cli
//cp> info c8
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-5 OK - - 64K 1862.61 ON OFF
Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 465.76 GB 976773168 WD-WCANU2126397
p1 OK u0 465.76 GB 976773168 WD-WCANU2051520
p2 OK u0 465.76 GB 976773168 WD-WCAS84972002
p3 OK u0 465.76 GB 976773168 WD-WCAS84739115
p4 OK u0 465.76 GB 976773168 WD-WCANU2114264
p5 OK u? 465.76 GB 976773168 WD-WCANU2051215
p6 NOT-PRESENT - - - -
p7 NOT-PRESENT - - - -
//cp> rescan
Rescanning controller /c8 for units and drives ...Done.
Found the following unit(s): [/c8/u1].
Found the following drive(s): [none].
//cp> info c8
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-5 OK - - 64K 1862.61 ON OFF
u1 RAID-5 INOPERABLE - - 64K 1862.61 OFF OFF
Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 465.76 GB 976773168 WD-WCANU2126397
p1 OK u0 465.76 GB 976773168 WD-WCANU2051520
p2 OK u0 465.76 GB 976773168 WD-WCAS84972002
p3 OK u0 465.76 GB 976773168 WD-WCAS84739115
p4 OK u0 465.76 GB 976773168 WD-WCANU2114264
p5 OK u1 465.76 GB 976773168 WD-WCANU2051215
p6 NOT-PRESENT - - - -
p7 NOT-PRESENT - - - -
//cp> /c8/u1 del
Deleting /c8/u1 will cause the data on the unit to be permanently lost.
Do you want to continue ? Y|N [N]: Y
Deleting unit c8/u1 ...Done.
//cp> info c8
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-5 OK - - 64K 1862.61 ON OFF
Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 465.76 GB 976773168 WD-WCANU2126397
p1 OK u0 465.76 GB 976773168 WD-WCANU2051520
p2 OK u0 465.76 GB 976773168 WD-WCAS84972002
p3 OK u0 465.76 GB 976773168 WD-WCAS84739115
p4 OK u0 465.76 GB 976773168 WD-WCANU2114264
p5 OK - 465.76 GB 976773168 WD-WCANU2051215
p6 NOT-PRESENT - - - -
p7 NOT-PRESENT - - - -
//cp> /c8 add type=spare disk=5
Creating new unit on controller /c8 ... Done. The new unit is /c8/u1.
WARNING: This Spare unit may replace failed drive of same interface type only.
//cp> info c8
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-5 OK - - 64K 1862.61 ON OFF
u1 SPARE OK - - - 465.753 - OFF
Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 465.76 GB 976773168 WD-WCANU2126397
p1 OK u0 465.76 GB 976773168 WD-WCANU2051520
p2 OK u0 465.76 GB 976773168 WD-WCAS84972002
p3 OK u0 465.76 GB 976773168 WD-WCAS84739115
p4 OK u0 465.76 GB 976773168 WD-WCANU2114264
p5 OK u1 465.76 GB 976773168 WD-WCANU2051215
p6 NOT-PRESENT - - - -
p7 NOT-PRESENT - - - -
Posted by Mary Heintz on March 28, 2012 at 11:06 am under Raid.
Comments Off on Raid Spare Addition.