MegaCli 常用命令备查
=======================================================
Display BBU Status Information
=======================================================
MegaCli -AdpBbuCmd -GetBbuStatus -aN|-a0,1,2|-aALL
——————————————————-
MegaCli -AdpBbuCmd -GetBbuStatus -aALL
=======================================================
Display BBU Capacity Information
=======================================================
MegaCli -AdpBbuCmd -GetBbuCapacityInfo -aN|-a0,1,2|-aALL
——————————————————-
MegaCli -AdpBbuCmd -GetBbuCapacityInfo -aALL
=======================================================
Display BBU Design Parameters
=======================================================
MegaCli -AdpBbuCmd -GetBbuDesignInfo -aN|-a0,1,2|-aALL
——————————————————-
MegaCli -AdpBbuCmd -GetBbuDesignInfo -aALL
=======================================================
Display Current BBU Properties
=======================================================
MegaCli -AdpBbuCmd -GetBbuProperties -aN|-a0,1,2|-aALL
——————————————————-
MegaCli -AdpBbuCmd -GetBbuProperties -aALL
=======================================================
Start BBU Learning Cycle
=======================================================
Description Starts the learning cycle on the BBU.
No parameter is needed for this option.
——————————————————-
MegaCli -AdpBbuCmd -BbuLearn -aN|-a0,1,2|-aALL
=======================================================
Change Virtual Disk Cache and Access Parameters
=======================================================
Description Allows you to change the following virtual disk parameters:
-WT (Write through), WB (Write back): Selects write policy.
-NORA (No read ahead), RA (Read ahead), ADRA (Adaptive read ahead): Selects read policy.
-Cached, -Direct: Selects cache policy.
-RW, -RO, Blocked: Selects access policy.
-EnDskCache: Enables disk cache.
-DisDskCache: Disables disk cache.
——————————————————-
MegaCli -LDSetProp { WT | WB|NORA |RA | ADRA|-Cached|Direct} |
{-RW|RO|Blocked} |
{-Name[string]} |
{-EnDskCache|DisDskCache} –Lx |
-L0,1,2|-Lall -aN|-a0,1,2|-aALL
——————————————————-
MegaCli -LDSetProp WT -L0 -a0
=======================================================
Display Virtual Disk Cache and Access Parameters
=======================================================
MegaCli -LDGetProp -Cache | -Access | -Name | -DskCache -Lx|-L0,1,2|
-Lall -aN|-a0,1,2|-aALL
——————————————————-
Displays the cache and access policies of the virtual disk(s):
-WT (Write through), WB (Write back): Selects write policy.
-NORA (No read ahead), RA (Read ahead), ADRA (Adaptive read ahead): Selects read policy.
-Cache, -Cached, Direct: Displays cache policy.
-Access, -RW, -RO, Blocked: Displays access policy.
-DskCache: Displays physical disk cache policy.
最近评论