2
CLI Syntax Reference
This chapter provides detailed information about using the command syntax for the 3ware CLI.
Throughout this chapter the examples reflect the interactive method of executing 3ware CLI.
Common Tasks Mapped to CLI Commands
The table below lists many of the tasks people use to manage their RAID controllers and units, and lists the primary CLI command associated with those tasks.
Table 5: Common Tasks Mapped to CLI Commands
Task | CLI Command | Page | |
|
|
| |
Controller Configuration Tasks |
|
| |
|
|
| |
View information about a controller | /cx show | 30 | |
|
|
| |
View controller policies | /cx show [attribute] [attribute] | 31 | |
|
|
| |
Set policies for a controller |
|
| |
• | Export JBODs | /cx set exportjbod | 55 |
• | Modify staggered spinup | /cx set stagger and /cx set spinup | 56 |
• Disable write cache on unit | /cx set ondegrade | 55 | |
| degrade |
|
|
• | Enable/disable autocarving | /cx set autocarve | 56 |
• | Enable/disable autorebuild | /cx set autorebuild | 56 |
• Set the autocarve volume size | /cx set carvesize | 56 | |
|
|
| |
Unit Configuration Tasks |
|
| |
|
|
| |
Create a new unit | /cx add | 40 | |
|
|
| |
Create a hot spare | /cx add | 40 | |
|
|
|
|
www.3ware.com | 19 |