beautypg.com

2 delete virtual drives commands, Delete virtual drives commands, Table 15 – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 32: And s

background image

LSI Corporation

- 32 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Virtual Drives Commands

Input example:

storcli /c0 add vd type=raid10 size=2gb,3gb,4gb names=tmp1,tmp2,tmp3

drives=252:2-3,5,7 pdperarray=2

storcli /cx add vd cc|cachecade type=[0,1,10] drives=[e:]s|[e:]s-x|[e:]s-x,y [[wt|*wb] ]

[assignvds=0,1,2]

This command creates CacheCade virtual drives and associates existing virtual drives to CacheCade virtual drives. You
can use the following options to create the CacheCade virtual drive.

Input example:

storcli /c0 add vd type=raid10 size=2gb,3gb,4gb names=tmp1,tmp2,tmp3

drives=252:2-3, 7

4.4.2

Delete Virtual Drives Commands

The Storage Command Line Tool supports the following virtual drive delete commands:

storcli /cx/vx|vall del

storcli /cx/vx|vall del cachecade

storcli /cx/vx|vall del force

wt|wb

wt

: Write through.

wb

: Write back.

Enables write through.

Write back is the default.

nora|ra

ra

: Read ahead.

nora

: No read ahead.

Disables read ahead.

Enabled is the default.

cachedbadbbu|nocachedbadbbu

cachedbadbbu

: Enable bad BBU caching.

nocachedbadbbu

: Disable bad BBU caching.

Enables caching when BBU is not functioning.

Disabled is the default.

cachevd

Enables SSD caching on the created virtual drive.

strip

8

, 16, 32, 64, 128, 256, 512, 1024.

Sets the strip size for the RAID configuration.

aftervd

Valid virtual drive number.

Creates the VD in the adjacent free slot next to the
specified VD.

spares

Number of spare physical drives present.

Specifies the physical drives that are to be assigned
to a disk group for spares.

force

Forces a security-capable physical drive to be added
to a drive group without security.

Table 15 Add RAID Configuration Input Options

Option

Value Range

Description

cachecade

Creates a CacheCade virtual drive.

type

0

, 1, 10

Sets the RAID type of the CacheCade virtual drive.

drives

Valid enclosure number and valid slot number See the drives row in the previous table for format.

wt|*wb

wt

: Enables write through.

wb

: Enables write back.

Enables or disables write cache.

assignvds

Valid virtual drive number (0 to 63)

Specifies the list of virtual drives associated with the new CacheCade
virtual drives.

Table 14 Add RAID Configuration Input Options (Continued)

Option

Value Range

Description