LSI Corporation
- 160 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 6: StorCLI
Working with the Storage Command Line Tool
The detailed description for each command follows.
storcli show
This command shows a summary of controller and controller-associated information for the system. The summary
includes the number of controllers, the host name, the operating system information, and the overview of
existing configuration.
storcli show all
This command shows the list of controllers and controller-associated information, information about the drives that
need attention, and advanced software options.
storcli show ctrlcount
This command shows the number of controllers detected in the server.
storcli show help
This command shows help for all commands at the server level.
storcli -v
This command shows the version of the Storage Command Line Tool.
6.6.2 Controller Commands
Controller commands provide information and perform actions related to the specified controller, such as the /c0
controller. The Storage Command Line Tool supports the controller commands described in this section.
6.6.2.1 Show and Set Controller Properties Commands
Table 37 Controller Commands Quick Reference Table
This section provides command information to show and set controller properties.
NOTE You cannot set multiple properties with a single command.
storcli /c
x show <property>
This command shows the current value of the specified property on the specified controller.
General example output:
Status Code = 0
Status = Success
Description = None
Controller: 0
Property_name = Property_value
You can show the following properties using the storcli /cx show <property1>|<property2>command.
storcli /cx show abortcconerror
storcli /cx show activityforlocate
Commands Value Range Description
show <properties> See Table 38 Shows specific controller properties.
set <properties> See Table 38 Sets controller properties.
show all: Shows all properties of the virtual drive.
freespace: Shows the freespace in the controller.
See Controller Show Commands.
Shows physical drive information.