Storcli: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
*[https://www.thomas-krenn.com/en/wiki/StorCLI_commands https://www.thomas-krenn.com/en/wiki/StorCLI_commands] | *[https://www.thomas-krenn.com/en/wiki/StorCLI_commands https://www.thomas-krenn.com/en/wiki/StorCLI_commands] | ||
*[https://www.virtualizationhowto.com/2017/10/change-bbu-and-raid-cache-settings-with-avago-lsi-storcli/ Cache settings] | *[https://www.virtualizationhowto.com/2017/10/change-bbu-and-raid-cache-settings-with-avago-lsi-storcli/ Cache settings] | ||
*[https://titanwolf.org/Network/Articles/Article?AID=486e3967-1b44-4e90-bd28-f7e271586ba1 Conversion between raid levels] | |||
=Output= | |||
==UGood F== | |||
Disk contains foreign config, clear with | |||
storcli /c0/fall del | |||
= Virtual Devices = | = Virtual Devices = | ||
== NRWBD == | == 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 = | = FAQ = | ||
==List controllers== | |||
storcli show all | |||
== VD settings with SSD == | == VD settings with SSD == | ||
Line 23: | Line 42: | ||
storcli /c0 /v2 set wrcache=wt | storcli /c0 /v2 set wrcache=wt | ||
No read ahead | No read ahead | ||
storcli /c0 /v2 set rdcache=nora | storcli /c0 /v2 set rdcache=nora | ||
==Changing cache settings == | == Changing cache settings == | ||
storcli /c0 /v1 set wrcache=wt|wb|awb | storcli /c0 /v1 set wrcache=wt|wb|awb | ||
storcli /c0 /v1 set rdcache=ra|nora | storcli /c0 /v1 set rdcache=ra|nora | ||
| |||
== BBU statues values == | == BBU statues values == | ||
0: OK 8: charging? 32: manual learn requested | 0: OK 8: charging? 32: manual learn requested |
Revision as of 14:44, 17 January 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 statues values
0: OK 8: charging? 32: manual learn requested