TW_CLI is a powerful command-line utility designed for managing and configuring 3Ware RAID controllers. It provides administrators with full control over RAID arrays, disks, rebuild operations, and system monitoring directly from the terminal. Whether you’re maintaining production storage or performing advanced RAID configuration, TW_CLI gives you the flexibility and precision required in professional server environments.
Key Points
- TW_CLI is a command-line utility for configuring and managing 3Ware RAID controllers.
- The tool allows administrators to monitor controller status, disks, RAID units, and system health directly from the terminal.
- TW_CLI supports RAID creation, disk export, rebuild operations, and spare disk configuration.
- Using TW_CLI provides precise control over storage infrastructure without relying on graphical tools.
Getting Started with TW_CLI
TW_CLI is a CLI tool for 3Ware RAID cards configuration. It provides in-depth control, various RAID configurations, monitoring and general tweaking of the present devices.
The following are a few examples of some useful commands.
You can either invoke the tool by 1. inserting tw_cli followed by enter or 2. run the commands directly by including the tw_cli as the first argument.
- tw_cli > Enter > //hostname > show.
- tw_cli show > output on new line.
Common TW_CLI Commands
* Show controller details and configuration
tw_cli help
* List controllers
tw_cli show Ctl Model (V)Ports Drives Units NotOpt RRate VRate BBU ------------------------------------------------------------------------ c0 9750-4i 36 36 4 0 1 1 OK
* Show controller and configuration info
tw_cli info c0
* Remove drive from configuration
tw_cli maint remove c0 p0
* Rescan devices
tw_cli maint rescan c0
* Export disk
tw_cli /c0/p0 export
* Send rebuild request
maint rebuild c0 u1 p0
* Delete unit
tw_cli maint deleteunit c0 u1
* Add disk as spare
tw_cli /c0 add raidtype=spare disk=2
Creating and Managing RAID Units
* Create a new RAID
tw_cli maint createunit c0 rraid1
* Create a new RAID 6 with a selection of disks
tw_cli maint createunit c0 rraid6 p01:5-30
* : is used as comma , – as interval
TW_CLI is an essential tool for administrators managing 3Ware RAID controllers in professional environments. From monitoring controller status and exporting disks to rebuilding arrays and creating new RAID configurations, the command-line interface offers precise and efficient control over your storage infrastructure.
If you’re looking for a reliable and performance-driven hosting environment to deploy and manage your RAID-based servers, consider working with a trusted European VPS Hosting Provider that delivers stability, flexibility, and full administrative access.
There are plenty more commands available , these are the basic essentials.
Enjoy!
