LSI/3ware CLI (version 2.00.11.020)

Note and Warning: Outputs and commands are system specific! Do not simply copy and paste commands unless you know what you are doing! You may destroy your data!

Show controllers:

//nas> show
Ctl Model (V)Ports Drives Units NotOpt RRate VRate BBU
------------------------------------------------------------------------
c4 9650SE-24M8 24 17 4 2 1 1 OK

Show controller

//nas> /c4 show

Unit UnitType Status        %RCmpl  %V/I/M Stripe   Size(GB)   Cache    AVrfy
------------------------------------------------------------------------------
u0   RAID-10  REBUILDING    72%     -      256K     3725.27    RiW      ON 
u1   RAID-5   REBUILDING    1%      -      64K      9313.17    OFF      ON 
u2   RAID-1   OK            -       -      -        7450.57    RiW      ON 
u3   RAID-1   OK            -       -      -        7450.57    RiW      ON

VPort Status Unit Size Type Phy Encl-Slot Model
------------------------------------------------------------------------------
...

Name   OnlineState BBUReady   Status  Volt  Temp   Hours   LastCapTest
---------------------------------------------------------------------------
bbu    On          Yes        OK      OK    OK     0       xx-xxx-xxxx

Remove a disk from unit:



//nas> /c4/p19 remove
Removing /c4/p19 will take the disk offline.
Do you want to continue ? Y|N [N]: Y
Removing port /c4/p19 ... Done.

Delete a unit from RAID:

//nas> /c4/u3 del
Deleting /c4/u3 will cause the data on the unit to be permanently lost.
Do you want to continue ? Y|N [N]: Y
Deleting unit c4/u3 ...Done.

Creating a RAID1 unit on controller /c4:

//nas> /c4 add type=raid1 disk=18-19
Creating new unit on controller /c4 ... Done. The new unit is /c4/u3.
Setting AutoVerify=ON for the new unit ... Done.
Setting default Storsave policy to [balance] for the new unit ... Done.
Setting default Command Queuing policy for unit /c4/u3 to [on] ... Done.
Setting write cache = ON for the new unit ... Done.

Print out help:

//nas> help

References

  1. tw_cli – Linux man page for AMCC_3ware Storage Management CLI
CheetSheet: tw_cli
Tagged on: