beautypg.com

7 controller cache command, 3 drive commands, 1 drive show commands – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 22: Controller cache command

background image

LSI Corporation

- 22 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Drive Commands

4.2.7

Controller Cache Command

The following command flushes the controller cache:

storcli /cx flush|flushcache

This command flushes the controller cache.

Input example:

storcli /c0 flushcache

4.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.

4.3.1

Drive Show Commands

The Storage Command Line Tool supports the following drive show commands:

storcli /cx[/ex]/sx show

storcli /cx[/eall]/sall show

storcli /cx[/ex]/sx|sall show all

The detailed description for each command follows.

storcli /cx[/ex]/sx 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 /cx[/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

Table 10 Physical Drives Commands Quick Reference Table

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 Section

4.3.1

,

Drive Show Commands

.

Shows virtual drive information.

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.