Storcli: Difference between revisions
From DWIKI
m (→HOWTO) |
mNo edit summary |
||
Line 27: | Line 27: | ||
storcli /c0 show time | storcli /c0 show time | ||
===Get BBU status=== | |||
*https://support.siliconmechanics.com/portal/en/kb/articles/bbu-commands-for-storcli | |||
storcli /cx/bbu show all | |||
===BBU start learn=== | |||
storcli /cx/bbu start learn | |||
===BBU status values=== | |||
Check [https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/issues/27 here] for more confusion | |||
*0: OK | |||
*8: charging or not full, unclear | |||
*16: cachevault? | |||
*32: manual learn requested | |||
=Output= | =Output= | ||
==UGood F== | ==UGood F== | ||
Line 73: | Line 86: | ||
=== ErrMsg: use /cx/cv === | === ErrMsg: use /cx/cv === | ||
There migh be a "cachevault"? | There migh be a "cachevault"? | ||
storcli /c0/cv show status | storcli /c0/cv show status |
Revision as of 11:43, 10 March 2023
Links
HOWTO
Add new/replacement disk
Show all should tell you s(Slot), dg, array and row, then:
storcli /c0/e32/s12 insert dg=0 array=0 row=0 storcli /c0/e32/s12 start rebuild
Locate a disk
storcli /c0/e8/s2 start locate
Alarm
Silence alarm
storcli /c0 set alarm=off
BBU
Show time
storcli /c0 show time
Get BBU status
storcli /cx/bbu show all
BBU start learn
storcli /cx/bbu start learn
BBU status values
Check here for more confusion
- 0: OK
- 8: charging or not full, unclear
- 16: cachevault?
- 32: manual learn requested
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
ErrMsg: use /cx/cv
There migh be a "cachevault"?
storcli /c0/cv show status