LSI Corporation
- 183 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 6: StorCLI
Working with the Storage Command Line Tool
storcli /c
x
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
6.6.4.5
Change Virtual Properties Commands
The Storage Command Line Tool supports the following commands to change virtual drive properties:
storcli /c
x
/v
x
set accesspolicy=<rw|ro|blocked|rmvblkd>
storcli /c
x
/v
x
set iopolicy=<cached|direct>
storcli /c
x
/v
x
set name=<
namestring
>
storcli /c
x
/v
x
set pdcache=<on|off|default>
storcli /c
x
/v
x
set rdcache=<ra|nora>
storcli /c
x
/v
x
|vall set ssdcaching=<on|off>
storcli /cx/vx|vall set HostAccess=ExclusiveAccess|SharedAccess
storcli /cx/vx set wrcache=<wt|wb|awb>
storcli /c
x
/v
x
set emulationType=0|1
storcli /c
x
/v
x
set ds=Default|Auto|None|Max|MaxNoCache
storcli /c
x
/v
x
set autobgi=On|Off
storcli /c
x
/v
x
set pi=Off
storcli /c
x
/v
x
set bootdrive=<On|Off>
The detailed description for each command follows.
storcli /c
x
/v
x
set accesspolicy=<rw|ro|blocked|rmvblkd>
This command sets the access policy on a virtual drive to read write, read only, or blocked or rmvblkd
(remove blocked).
Input example:
storcli /c0/v0 set accesspolicy=rw
storcli /c
x
/v
x
set iopolicy=<cached|direct>
This command sets the I/O policy on a virtual drive to cached I/O or direct I/O.
Input example:
storcli /c0/v0 set iopolicy=cached
storcli /c
x
/v
x
set name=<
namestring
>
This command names a virtual drive. The name is restricted to 15 characters
Input example:
storcli /c1/v0 set name=testdrive123
storcli /c
x
/v
x
set pdcache=<on|off|default>
This command sets the current disk cache policy on a virtual drive to on, off, or default setting.
Input example:
storcli /c0/v0 set pdcache=on
storcli /c
x
/v
x
set rdcache=<ra|nora>
This command sets the read cache policy on a virtual drive to read ahead, no read ahead, or adaptive read ahead.
Input example:
Содержание ThinkServer RD650
Страница 1: ...ThinkServer 12 Gb s MegaRAID SAS Software User Guide ...
Страница 417: ......
Страница 418: ......