Storcli Commands - IBM Power System S821LC Installing

Hide thumbs Also See for Power System S821LC:
Table of Contents

Advertisement

To take the device offline so that it can be removed:
1. Identify the disk to remove; for example, sda or sdb.
2. Log in as the root user. For example, to remove the sda drive, run the following command:
echo 0 > /sys/block/sda/device/delete

StorCLI commands

Learn about the StorCLI commands. They are for feature code EKAA using a PCIe adapter.
If the command is not installed, download the utility from http://avagotech.com. You can find the
download by searching that site for storcli. Get their latest "MegaRAID Storcli" download; the file is at
https://docs.broadcom.com/docs/STORCLI-v1-21-12-Linux.zip. To install, follow their documentation.
Unzip the file; then for:
RHEL
1.
Navigate to the Linux folder.
2.
Install the package by running this command, where x.xx-x equals the version of the utility. :
rpm -ivh <StorCLI-x.xx-x.noarch.rpm>
Ubuntu:
1.
Navigate to the Ubuntu folder.
2.
Install the debian file by using this command:
dpkg -i storcli_x.xx-x._all.deb
If you need to make the storcli run, use the following command:
chmod +x /path/to/file/filename
You can check the permissions of the file to see if it is executable by using the following command:
ls -l /path/to/file/filename
To upgrade the StorCLI RPM, run:
rpm -Uvh <StorCLI-x.xx-x.noarch.rpm>
To show a summary of the drive and controller status:
storcli show
To show a list of all controllers and drives that need attention:
storcli show all
To show information about the drives:
storcli /cx[/eall]/sall show
To locate a physical disk by turning on the identify LED:
storcli /cx[/ex]/sx start locate
To turn off the identify LED:
storcli /cx[/ex]/sx stop locate
To prepare a drive for removal:
storcli /cx[/ex]/sx spindown
To prepare a drive for use:
storcli /cx[/ex]/sx spinup
Installing and configuring the system
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

Power system 8001-12c

Table of Contents