beautypg.com

Chapter 5: frequently used tasks, 2 showing storcli help, 3 showing system summary information – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 50: 4 showing free space in a controller, 5 adding virtual drives

background image

LSI Corporation

- 50 -

StorCLI Reference Manual

January 2013

Chapter 5: Frequently Used Tasks

Showing the Version of the Storage Command Line Tool

Chapter 5: Frequently Used Tasks

5.1

Showing the Version of the Storage Command Line Tool

The following command shows the version of the command line tool:

Storcli –v

5.2

Showing StorCLI Help

The following command shows the command line tool help:

Storcli –h

Help appears for all the StorCLI commands

5.3

Showing System Summary Information

The following command shows the summary of all the controller information:

Storcli –show [all]

5.4

Showing Free Space in a Controller

The following command shows the free space available in the controller:

Storcli /cx show freespace

5.5

Adding Virtual Drives

The following command creates a virtual drive:

Storcli /cx add vd type=raid[0|1|5|6|10|50|60][Size=<VD1_Sz>,<VD2_Sz>,..|*all]

[name=<VDNAME1>,..] drives=e:s|e:s-x|e:s-x,y [PDperArray=x|auto*]

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

*none|maximum(max)|MaximumWithoutCaching(maxnocache)] [wt|*wb] [nora|*ra]

[*direct|cached] [CachedBadBBU|*NoCachedBadBBU]

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

[force]

The following inputs can be used when adding virtual drives:

The controller in which the virtual drives are created.

The RAID type of the virtual drives. The supported RAID types are 0, 1, 5, 6, 10, 50, 60.

The size of each virtual drive.