UPDATE (4/28/17): Broadcom acquired Avago since the time of the original publication of this article. To access Storcli and other "LSI" utilities, use the following link and select your product: https://www.broadcom.com/support/download-search
Storcli can be used to assess the health and performance of LSI/Avago/Broadcom RAID controllers and attached hard drives.
To download Storcli for your RAID controller follow the steps below:
- Navigate to http://www.avagotech.com/products/storage/.
- Select either 'SAS/SATA Host Bus Adapters' or 'RAID Controller Cards'.
- Next, select the throughput speed that applies to your controller: '12Gb/s SATA + SAS RAID' or '6Gb/s SATA + SAS RAID'. Then find and click on your controller model from the list.
- Alternatively, if you don't know these specifications but know the controller model, e.g. "MegaRAID SAS 9271-8i", you can enter that into the search field from anywhere on Avago's website and find the product link and result you are looking for. (Search on http://www.avagotech.com/)
- After arriving at the information page for your controller model, click on 'Downloads'.
- Under the 'Management Software and Tools' section, look for 'Latest MegaRAID Storcli' and click on the Download icon to download the associated .ZIP archive. (You may need to 'Expand' the section first.)
- Once downloaded, extract the archive and navigate through the directories to locate your OS-specific Storcli folder, e.g. FreeBSD.
- Read the readme.txt file for your OS to get instructions on how to install or run Storcli on your system.
Running Storcli on FreeBSD:
In order to run Storcli on FreeBSD, first find the storcli.tar archive and extract it. Next, you will need to enter a bash shell. (See explanation below.)
From storcli_All_OS/FreeBSD/FreeBSD_readme.txt:
Requirement for StorCli & StorCli64 Execution in FreeBSD OS:
- In FreeBSD OS, StorCli or StorCli64 application will not function if the user is trying to run it in CSH, the default shell in FreeBSD.
- Please ensure that the user has entered the bash shell by executing the command "bash".
Using Storcli to Assess Your System:
Click to download the 'Storcli Reference Manual' from Avago (Updated: 01/31/2013). This document provides an overview of the software, installation, and the command syntax.
Here is a list of common commands:
-
storcli –h - Help appears for all the Storcli commands
-
storcli /c0 show all - Shows a summary of all information for the first controller
-
storcli /c1 show all - Shows a summary of all information for the second controller
-
storcli /c<#> download file=filepath [fwtype=] [nosigchk] [noverchk] [resetnow] - Flash the controller firmware. See page 21 of the Reference Manual, section 4.2.6 "Flashing Controller Firmware Command" for more information.
Related Articles
Management Utilities Overview (LSI)
If you are new to LSI MegaRAID and LSI SAS HBA controllers, this guide will provide a general overview of applicable management utilities and firmware flash utilities, and recommended usage scenarios for these tools. LSI MegaRAID Management ...
StorCLI Common Commands
Information for general use: /cx bzw. /vx stands for the Controller/Virtual Drive Number. /ex bzw. /sx stands for the Enclosure/Slot ID. Firmware Update sudo storcli /cx download file=/path/to/firmware.rom Information on the Controller and ...
BBU Commands for Storcli
*****Recent Versions of Storcli now use the /cv command**** storcli /cx /cv Example.. storcli /c0 /cv BBU Commands The Storage Command Line Tool supports the following battery backup unit (BBU) commands: storcli /cx/bbu show storcli /cx/bbu show all ...
Finding resources for your HBA/RAID controller (LSI)
This article will assist with navigating LSI's website to obtain drivers, firmware, and management software for RAID controllers and HBAs. You will need to know the model number of the controller for the next steps, see here for instructions on how ...
LSI controller model and serial
Q: How do I determine my RAID controller model and serial number? A: For LSI MegaRAID series controllers, this information can be obtained using any of LSI's MegaRAID management utilities. If using a LSI SAS HBA, you can use the utilities sas2flash ...