Inhaltsverzeichnis

tw_cli

Rebuild RAID newton

./tw_cli
maint remove c4 p3
maint rescan c4
maint rebuild c4 u0 p3

Rebuild RAID feynman

./tw_cli
maint remove c0p3
maint rescan c0
maint rebuild c0u0p3

Server

feynman:~ # ./tw_cli 
//feynman> /c4 show

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-5    OK             -       -       256K    2793.94   RiW    ON     

VPort Status         Unit Size      Type  Phy Encl-Slot    Model
------------------------------------------------------------------------------
p0    OK             u0   931.51 GB SATA  0   -            ST31000340NS        
p1    OK             u0   931.51 GB SATA  1   -            ST31000340NS        
p2    OK             u0   931.51 GB SATA  2   -            ST31000340NS        
p3    OK             u0   931.51 GB SATA  3   -            ST31000340NS       
schroedinger:~ # ./tw_cli 
//schroedinger> /c2 show

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

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     465.76 GB   976773168     5QM175NG            
p1     OK               u0     465.76 GB   976773168     5QM17BWV            
p2     OK               u0     465.76 GB   976773168     5QM17ABA            
p3     OK               u0     465.76 GB   976773168     9QMC4NHG            
newton:~ # ./tw_cli 
//newton> info c4

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

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     931.51 GB   1953525168    9WK3M722            
p1     OK               u0     931.51 GB   1953525168    Z1N37A3W            
p2     OK               u0     931.51 GB   1953525168    Z1W0FLTV            
p3     DEGRADED         u0     931.51 GB   1953525168    9QJ6YY11