Storcli: Difference between revisions
From DWIKI
mNo edit summary |
m (→BBU) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
=== write back === | === write back === | ||
= FAQ = | = FAQ = | ||
==List controllers== | |||
storcli show all | |||
== VD settings with SSD == | == VD settings with SSD == | ||
Line 48: | Line 52: | ||
storcli /c0 /v1 set rdcache=ra|nora | storcli /c0 /v1 set rdcache=ra|nora | ||
== BBU | ==BBU == | ||
===Get BBU status=== | |||
*https://support.siliconmechanics.com/portal/en/kb/articles/bbu-commands-for-storcli | |||
storcli /cx/bbu show all | |||
===BBU status values=== | |||
*0: OK | |||
*8: charging? | |||
*16: cachevault? | |||
*32: manual learn requested | |||
=== ErrMsg: use /cx/cv === | |||
There migh be a "cachevault"? | |||
storcli /c0/cv show status |
Revision as of 15:36, 20 May 2022
Links
Output
UGood F
Disk contains foreign config, clear with
storcli /c0/fall del
Virtual Devices
NRWBD
NR=No Read Ahead WB = Write Back D = Direct IO
Cache settings
read ahead
usually on, pointless is reads are very random
write back
FAQ
List controllers
storcli show all
VD settings with SSD
NO read ahead, write through
storcli /c0 /v2 set wrcache=wt
No read ahead
storcli /c0 /v2 set rdcache=nora
Changing cache settings
storcli /c0 /v1 set wrcache=wt|wb|awb storcli /c0 /v1 set rdcache=ra|nora
BBU
Get BBU status
storcli /cx/bbu show all
BBU status values
- 0: OK
- 8: charging?
- 16: cachevault?
- 32: manual learn requested
ErrMsg: use /cx/cv
There migh be a "cachevault"?
storcli /c0/cv show status