Using the 3ware raid controller tool on Astaro Security Gateway

  • Article ID: 115764
  • Updated: 24 May 2012

tw_cli is a Command Line Interface Storage Management Software for AMCC/3ware ATA RAID Controller(s). It provides controller, logical unit and drive management. tw_cli can be used in both interactive and batch mode, providing higher-level API (Application Programming Interface) functionalities.

Known to apply to the following Sophos product(s) and version(s)

Sophos UTM Software Appliance

Operating systems
V7, V8

What To Do

Checking the status of controller, array or disk

info

list controllers in the machine

info c1

list the disks on controller 1 and their grouping into RAID arrays

info c1 u2

list the disks in RAID unit 2 and their status within the array. Useful to find out which disk is bad in a DEGRADED array.

info c1 p2

list the status of an individual disk

info c1 diag

for experts: show low-level error log output for the controller


For Example:

asg:/root # tw_cli info

Ctl Model Ports Drives Units NotOpt RRate VRate BBU
------------------------------------------------------------------------
c0 8006-2LP 2 2 1 0 2 - -


asg:/root # tw_cli info c0

Unit UnitType Status %Cmpl Stripe Size(GB) Cache AVerify IgnECC

------------------------------------------------------------------------------

u0 RAID-1 OK - - 111.79 ON - -

Port Status Unit Size Blocks Serial

---------------------------------------------------------------

p0 OK u0 111.79 GB 234441648 4LS0592L

p1 OK u0 111.79 GB 234441648 4LS04RV6


asg:/root # tw_cli info c0 unitstatus

Unit UnitType Status %Cmpl Stripe Size(GB) Cache AVerify IgnECC

------------------------------------------------------------------------------

u0 RAID-1 OK - - 111.79 ON - -


asg:/root # tw_cli info c0 drivestatus

Port Status Unit Size Blocks Serial

---------------------------------------------------------------

p0 OK u0 111.79 GB 234441648 4LS0592L

p1 OK u0 111.79 GB 234441648 4LS04RV6




 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments