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
98
Power Systems: Installing the IBM Power System S822LC for Big Data (8001-22C)
Summary of Contents for Power Systems 8001-22C
Page 1: ...Power Systems Installing the IBM Power System S822LC for Big Data 8001 22C IBM...
Page 2: ......
Page 3: ...Power Systems Installing the IBM Power System S822LC for Big Data 8001 22C IBM...
Page 16: ...xiv Power Systems Installing the IBM Power System S822LC for Big Data 8001 22C...
Page 136: ...120 Power Systems Installing the IBM Power System S822LC for Big Data 8001 22C...
Page 137: ......
Page 138: ...IBM Printed in USA...