beautypg.com

13 drive security commands, 4 virtual drives commands, 1 add virtual drives commands – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 30

background image

LSI Corporation

- 30 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Virtual Drives Commands

storcli /cx/[ex]/sx delete hotsparedrive

This command deletes a hot spare drive.

Input example:

storcli /c0/e3/s4,5 delete hotsparedrive

4.3.13

Drive Security Commands

The Storage Command Line Tool supports the following drive security command:

storcli /cx[/ex]/sx show securitykey keyid

storcli /cx[/ex]/sx show securitykey keyid

This command shows the security key for secured physical drives.

Input example:

storcli /c0/e252/s1 show SecurityKey keyid

4.4

Virtual Drives Commands

The Storage Command Line Tool supports the following virtual drive commands. The following table describes
frequently used virtual drive commands.

4.4.1

Add Virtual Drives Commands

The Storage Command Line Tool supports the following commands to add virtual drives:

storcli /cx add vd type=raid[0|1|5|6|10|50|60][Size=,,..|*all]

[name=,..] drives=e:s|e:s-x|e:s-x,y;e:s-x,y,z [PDperArray=x][SED]

[pdcache=on|off|*default][pi] [DimmerSwitch(ds)=default|automatic(auto)|

*none|maximum(max)|MaximumWithoutCaching(maxnocache)][cachevd]

[wt|*wb] [nora|*ra] [*direct|cached] [CachedBadBBU|*NoCachedBadBBU]

[Strip=<8|16|32|64|128|256|1024>] [AfterVd=X] [Spares = [e:]s|[e:]s-x|[e:]s-x,y]

[force]

Table 13 Virtual Drives Commands Quick Reference Table

Commands

Value Range

Description

add

See

Table 14

and

Table 15

Creates virtual drives.

delete

cc

or cachecade: Deletes CacheCade® virtual drives.

force

: Deletes the virtual drive where operating system is present.

Deletes a virtual drive.

set

See

Table 14

,

Table 15

, and Section

4.4.5

,

Change Virtual Drive Properties

Commands

Sets virtual drive properties.

show

all

: Shows all properties of the virtual drive.

cc

: Shows properties of CacheCade virtual drives.

See Section

4.4.3

,

Virtual Drive Show Commands

.

Shows virtual drive information.