Storcli

From HPCWIKI
Jump to navigation Jump to search

StorCLI is a command line tool for the administration of MegaRAID Controllers and the successor of MegaCLI.

More background and overall introduction is available this old document

Install storcli under Ubuntu

  1. Download the latest version of storecli from Broadcom URL then unzip the zip file.
  2. Unzip will create folder name storcli_rel and this folder containes Unified_storcli_all_os.zip
  3. Again, unzip Unified_storcli_all_os.zip under the storcli_rel folder then it creates Unified_storcli_all_os folder which contains installable package to support various version of operating system.
  4. For Ubuntu, move to Unbuntu folder under the unzipped folder name Unified_storcli_all_os, e.g, Unified_storcli_all_os/Ubuntu
  5. Install Debian packages. By default, storcli64 executable file will be installed at /opt/MegaRAID/storcli/storcli64
$ sudo dpkg -i storcli_rel/Unified_storcli_all_os/Ubuntu/*.deb   #example to install deb package

# To verify storcli installation
$dpkg -l | grep -i storecli 

# Default storcli command will be installed at By default, storcli64 executable file will be installed at /opt/MegaRAID/storcli/storcli64
  • Administrator can add /opt/MegaRAID/storcli/storcli64 to $PATH or create symbolic link to exist $PATH such as /usr/local/bin
  • HPCMATE storage system has symbolic link at /usr/loca/bin/storcli -> /opt/MegaRAID/storcli/storcli64

Storcli vs Megacli

The difference command line syntax between Megacli and Storcli is available at this Broadcom page.

Storcli is

Create RAID volume using storcli

References