server# tw_cli //server> /c0 show Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-1 DEGRADED - - - 465.651 OFF OFF VPort Status Unit Size Type Phy Encl-Slot Model ------------------------------------------------------------------------------ p0 DEGRADED u0 465.76 GB SATA 0 - ST3500320NS p1 OK u0 465.76 GB SATA 1 - WDC WD5003ABYX-01WE
/* removeing degraded disk */
//server> /c0/p0 remove Removing /c0/p0 will take the disk offline. Do you want to continue ? Y|N [N]: Y Removing port /c0/p0 ... Done. //server> /c0 show Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-1 DEGRADED - - - 465.651 OFF OFF VPort Status Unit Size Type Phy Encl-Slot Model ------------------------------------------------------------------------------ p1 OK u0 465.76 GB SATA 1 - WDC WD5003ABYX-01WE
/* physically insert new hard disk and scan for this */
//server> /c0 rescan //server> /c0 show Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-1 DEGRADED - - - 465.651 OFF OFF VPort Status Unit Size Type Phy Encl-Slot Model ------------------------------------------------------------------------------ p0 OK - 465.76 GB SATA 0 - WDC WD5003ABYX-01WE p1 OK u0 465.76 GB SATA 1 - WDC WD5003ABYX-01WE
/* start rebuilding array */
//server> maint rebuild c0 u0 p0 Sending rebuild start request to /c0/u0 on 1 disk(s) [0] ... Done.
/* display status of rebuilding */
//server> info c0 Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-1 REBUILDING 5% - - 465.651 OFF OFF VPort Status Unit Size Type Phy Encl-Slot Model ------------------------------------------------------------------------------ p0 DEGRADED u0 465.76 GB SATA 0 - WDC WD5003ABYX-01WE p1 OK u0 465.76 GB SATA 1 - WDC WD5003ABYX-01WE
Saturday, February 9, 2013
Replacing degraded disk in RAID1 3ware LSI
Labels:
3ware,
9650SE-2LP,
freebsd,
LSI,
RAID1
Subscribe to:
Post Comments (Atom)
1 comment:
Thank you for this post - I ran into needing to do the same operation as one of the drives on my organization's SQL server failed and I couldn't find any other practical instruction on the process. Very helpful.
Post a Comment