ITPub博客

首页 > Linux操作系统 > Linux操作系统 > MegaCli 常用命令备查

MegaCli 常用命令备查

原创 Linux操作系统 作者:lhl1212 时间:2010-06-09 00:05:16 0 删除 编辑

 

=======================================================
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.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/611609/viewspace-664760/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Linux下xmanager开启
请登录后发表评论 登录
全部评论

注册时间:2008-12-08

  • 博文量
    252
  • 访问量
    550932