Tuesday, February 14, 2012

Basic of 3ware Raid


Raid Fix on Linux:

[~]# ./tw_cli

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

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY2312070
p1     OK               u0     233.76 GB   490234752     WD-WCANY2311250
p2     DEVICE-ERROR     u0     233.76 GB   490234752     WD-WCANY1796905
p3     OK               u0     233.76 GB   490234752     WD-WCANY2265331
p4     OK               u0     233.81 GB   490350672     WD-WCAT1A636279
p5     OK               u0     233.81 GB   490350672     WD-WMAYP3458409
p6     OK               u0     233.76 GB   490234752     WD-WCANY2312032
p7     OK               u0     233.81 GB   490350672     WD-WCAT1H074670

//EDGWIN> maint remove c0 p2
Removing port /c0/p2 ... Done.

//EDGWIN> info c0

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-5    DEGRADED       -       -       64K     1629.74   OFF    OFF

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY2312070
p1     OK               u0     233.76 GB   490234752     WD-WCANY2311250
p2     NOT-PRESENT      -      -           -             -
p3     OK               u0     233.76 GB   490234752     WD-WCANY2265331
p4     OK               u0     233.81 GB   490350672     WD-WCAT1A636279
p5     OK               u0     233.81 GB   490350672     WD-WMAYP3458409
p6     OK               u0     233.76 GB   490234752     WD-WCANY2312032
p7     OK               u0     233.81 GB   490350672     WD-WCAT1H074670

//EDGWIN> info c0

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-5    DEGRADED       -       -       64K     1629.74   OFF    OFF

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY2312070
p1     OK               u0     233.76 GB   490234752     WD-WCANY2311250
p2     NOT-PRESENT      -      -           -             -
p3     OK               u0     233.76 GB   490234752     WD-WCANY2265331
p4     OK               u0     233.81 GB   490350672     WD-WCAT1A636279
p5     OK               u0     233.81 GB   490350672     WD-WMAYP3458409
p6     OK               u0     233.76 GB   490234752     WD-WCANY2312032
p7     OK               u0     233.81 GB   490350672     WD-WCAT1H074670

//EDGWIN> info c0

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-5    DEGRADED       -       -       64K     1629.74   OFF    OFF

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY2312070
p1     OK               u0     233.76 GB   490234752     WD-WCANY2311250
p2     NOT-PRESENT      -      -           -             -
p3     OK               u0     233.76 GB   490234752     WD-WCANY2265331
p4     OK               u0     233.81 GB   490350672     WD-WCAT1A636279
p5     OK               u0     233.81 GB   490350672     WD-WMAYP3458409
p6     OK               u0     233.76 GB   490234752     WD-WCANY2312032
p7     OK               u0     233.81 GB   490350672     WD-WCAT1H074670

//EDGWIN> rescan
Rescanning controller /c0 for units and drives ...Done.
Found the following unit(s): [none].
Found the following drive(s): [none].

//EDGWIN> info c0

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-5    DEGRADED       -       -       64K     1629.74   OFF    OFF

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY2312070
p1     OK               u0     233.76 GB   490234752     WD-WCANY2311250
p2     OK               -      233.81 GB   490350672     WD-WMAYP3479443
p3     OK               u0     233.76 GB   490234752     WD-WCANY2265331
p4     OK               u0     233.81 GB   490350672     WD-WCAT1A636279
p5     OK               u0     233.81 GB   490350672     WD-WMAYP3458409
p6     OK               u0     233.76 GB   490234752     WD-WCANY2312032
p7     OK               u0     233.81 GB   490350672     WD-WCAT1H074670

//EDGWIN> info c0

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-5    DEGRADED       -       -       64K     1629.74   OFF    OFF

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY2312070
p1     OK               u0     233.76 GB   490234752     WD-WCANY2311250
p2     OK               -      233.81 GB   490350672     WD-WMAYP3479443
p3     DEVICE-ERROR     u0     233.76 GB   490234752     WD-WCANY2265331
p4     OK               u0     233.81 GB   490350672     WD-WCAT1A636279
p5     OK               u0     233.81 GB   490350672     WD-WMAYP3458409
p6     OK               u0     233.76 GB   490234752     WD-WCANY2312032
p7     OK               u0     233.81 GB   490350672     WD-WCAT1H074670

//EDGWIN> /c0/u0 start rebuild disk=2
Sending rebuild start request to /c0/u0 on 1 disk(s) [2] ... Done.

//EDGWIN> info c0

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-5    REBUILDING     0       -       64K     1629.74   OFF    OFF

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY2312070
p1     OK               u0     233.76 GB   490234752     WD-WCANY2311250
p2     DEGRADED         u0     233.81 GB   490350672     WD-WMAYP3479443
p3     OK               u0     233.76 GB   490234752     WD-WCANY2265331
p4     OK               u0     233.81 GB   490350672     WD-WCAT1A636279
p5     OK               u0     233.81 GB   490350672     WD-WMAYP3458409
p6     OK               u0     233.76 GB   490234752     WD-WCANY2312032
p7     OK               u0     233.81 GB   490350672     WD-WCAT1H074670

No comments:

Post a Comment