LSI Corporation
- 171 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 6: StorCLI
Working with the Storage Command Line Tool
6.6.3
Drive Commands
This section describes the drive commands, which provide information and perform actions related to physical drives.
The following table describes frequently used virtual drive commands.
Table 44 Physical Drives Commands Quick Reference Table
6.6.3.1
Drive Show Commands
The Storage Command Line Tool supports the following drive show commands:
storcli /c
x
[/e
x
]/s
x
show
storcli /c
x
[/eall]/sall show
storcli /c
x
[/e
x
]/s
x
|sall show all
NOTE
If enclosures are used to connect physical drives to the controller,
specify the enclosure ID in the command. If no enclosures are used,
you must specify the controller ID and slot ID.
The detailed description for each command follows.
storcli /c
x
[/e
x
]/s
x
show
This command shows the summary of the physical drive for a specified slot in the controller.
Input example:
storcli /c0/e0/s4,5 show
storcli /c
x
[/eall]/sall show
This command shows the summary information for all the enclosures and physical drives connected to the controller.
Input example:
storcli /c0/eall/sall show
storcli /c
x
[/e
x
]/s
x
|sall show all
This command shows all information of a physical drive for the specified slot in the controller. If you use the
all
option, the command shows information for all slots on the controller.
x
stands for a number, a list of numbers, a range
of numbers, or all numbers.
This command also shows the NCQ (Native Command Queuing) status (
Enabled
,
Disabled
, or
N/A
) which is
applicable only to SATA drives. If the controller to which the SATA drive is connected supports NCQ and NCQ is
enabled on the SATA drive, the status is shown as
Enabled
; else it is shown as
Disabled
. If NCQ is not a supported
drive operation on the controller, the status is shown as
N/A
.
Input examples:
storcli /c0/e3/s0-3 show all
storcli /c0/e35/sall show all
Commands
Value Range
Description
set
missing
: Sets the drive status as missing.
good
: Sets the drive status to unconfigured good.
offline
: Sets the drive status to offline.
online
: Sets the drive status to online.
Sets physical drive properties.
show
all
: shows all properties of the physical drive.
See
.
Shows virtual drive information.
Summary of Contents for ThinkServer RD650
Page 1: ...ThinkServer 12 Gb s MegaRAID SAS Software User Guide ...
Page 417: ......
Page 418: ......