beautypg.com

4 preserved cache commands, 5 change virtual drive properties commands, Change virtual drive properties – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 34: Commands

background image

LSI Corporation

- 34 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Virtual Drives Commands

storcli /cx/vx show

This command shows the summary of the virtual drive information.

Input example:

storcli /c0/v0 show

storcli /cx/vx show all

This command shows all virtual drive information, which includes virtual drive information, physical drives used for
the virtual drives, and virtual drive properties.

Input example:

storcli /c0/v0 show all

4.4.4

Preserved Cache Commands

If a virtual drive becomes offline or is deleted because of missing physical disks, the controller preserves the dirty
cache from the virtual disk. The Storage Command Line Tool supports the following commands for preserved cache:

storcli /cx/vx delete preservedCache [force]

storcli /cx show preservedCache

The detailed description for each command follows.

storcli /cx/vx delete preservedcache

This command deletes the preserved cache for a particular virtual drive on the controller in missing state. Use the
force

option to delete the preserved cache of a virtual drive in offline state.

Input example:

storcli /c0/v1 delete preservedcache

storcli /cx show preservedCache

This command shows the virtual drive that has preserved cache and whether the virtual drive is offline or missing.

Input example:

storcli /c0 show preservedCache

4.4.5

Change Virtual Drive Properties Commands

The Storage Command Line Tool supports the following commands to change virtual drive properties:

storcli /cx/vx set accesspolicy=<rw|ro|blocked|rmvblkd>

storcli /cx/vx set cachedbadbbu=<on|off>

storcli /cx/vx set iopolicy=<cached|direct>

storcli /cx/vx set name=

storcli /cx/vx set pdcache=<on|off|default>

storcli /cx/vx set rdcache=<ra|nora>

storcli /cx/vx set security

storcli /cx/vx|vall set ssdcaching=<on|off>

storcli /cx/vx set wrcache=<wt|wb|awb>

The detailed description for each command follows.