This is an old revision of the document!
tw_cli is the CLI for monitoring and maintaining 3ware RAID controllers. It can be used for all maintenance operations that can be performed through the 3dmd daemon or the system BIOS.
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