MegaCli -LDSetProp CachedBadBBU -L0 -a0
MegaCli -LDSetProp WB -L0 -a0

The first command disables the BBU for Logical Drive 0 on adapter 0

The second command set write back for Logical Drive 0 on adpater 0

MegaCli -LDInfo -Lall -a0

Shows logical drive information for all logical drives on adapter 0

MegaCli -PDList -a0

Show all physical drive information on adapter 0

MegaCli -LDSetProp NoCachedBadBBU -L0 -a0

Reverse CachedBadBBU

MegaCli -LDSetProp -WT -L0 -a0

Enables write through cache for logical drive 0 on adapter 0