BBU Commands for Storcli

BBU Commands for Storcli

*****Recent Versions of Storcli now use the /cv command****

storcli /cx /cv

Example.. storcli /c0 /cv

BBU Commands
The Storage Command Line Tool supports the following battery backup unit (BBU) commands:
storcli /cx/bbu show
storcli /cx/bbu show all
storcli /cx/bbu set bbuMode=<value>
storcli /cx/bbu set learndelayinterval=<value>
storcli /cx/bbu set powermode=sleep
storcli /cx/bbu set writeaceess=sealed
storcli /cx/bbu show modes
storcli /cx/bbu show properties
storcli /cx/bbu show status
storcli /cx/bbu start learn
The detailed description for each command follows.
storcli /cx/bbu show
This command shows the summary information for the BBU of a controller.
Input example:
storcli /c0/bbu show
storcli /cx/bbu show all
This command shows all the information of the BBU.
Input example:
storcli /c0/bbu show all
storcli /cx/bbu set bbuMode=<value>
This command sets the BBU mode for the BBU. The following table shows the various BBU modes:
Input example:
storcli /c0/bbu set bbuMode=2
Table 19 BBU Mode
Mode Description
0 48 hours of retentiona at 60 °C, 1-year Service Life.
a. Indicates how long the battery can hold data in the controller's memory in case of accidental system shutdown.
1 12 hours of retention at 45 °C, 5-year Service Life, transparent learn.b
b. The controller's performance is not affected during the battery's learn cycle.
2 12 hours of retention at 55 °C, 3-year Service Life, transparent learn.
3 24 hours of retention at 45 °C, 3-year Service Life, transparent learn.
4 48 hours of retention at 45 °C, 3-year Service Life.
5 48 hours of retention at 55 °C, 1-year Service Life.
6 Same as the description for BBU mode 5. The BBU mode 6 enables you to receive events when the battery
capacity reaches suboptimal and critical thresholds.
NOTE BBU modes are supported on any iBBU08/09 bbu/controller combo and later-generation controllers.

 

storcli /cx/bbu set learndelayinterval=<value>
This command sets the learn delay interval for the BBU in hours. The value must be between 0 to 168 hours (7 days).
Input example:
storcli /c0/bbu set learnDelayInterval=30
storcli /cx/bbu set powermode=sleep
This command places the battery in low-power storage mode. The battery automatically exits this state after
5 seconds.
Input example:
storcli /c0/bbu set powermode=sleep
storcli /cx/bbu set writeaccess=sealed
This command seals the gas gauge EEPROM write access.
Input example:
storcli /c0/bbu set writeaccess=sealed
storcli /cx/bbu show modes
This command shows the bbu mode information that includes the bbu mode number, retention time, service life,
maximum temperature, and battery learn information.
Input example:
storcli /c0/bbu show modes
storcli /cx/bbu show properties
This command shows the BBU Learn properties for a controller.
Input example:
storcli /c0/bbu show properties
storcli /cx/bbu show status
This command shows the battery information, firmware status, and the gas gauge status.
Input example:
storcli /c0/bbu show status
storcli /cx/bbu start learn
This command starts the BBU learning cycle. The battery learn cycle is immediately started and no other parameters
are required for this command.
Input example:
storcli /c0/bbu start learn

    • Related Articles

    • StorCLI Common Commands

      Information for general use: /cx bzw. /vx stands for the Controller/Virtual Drive Number. /ex bzw. /sx stands for the Enclosure/Slot ID. Firmware Update sudo storcli /cx download file=/path/to/firmware.rom Information on the Controller and ...
    • Storcli for FreeBSD and Other Operating Systems

      UPDATE (4/28/17): Broadcom acquired Avago since the time of the original publication of this article. To access Storcli and other "LSI" utilities, use the following link and select your product: https://www.broadcom.com/support/download-search ...
    • MegaCli Common Commands

      General Parameters   Adapter parameter -aN   The parameter -aN (where N is a number starting with zero or the string ALL) specifies the adapter ID. If you have only one controller it’s safe to use ALL instead of a specific ID, but you’re encouraged ...
    • RAID rebuild limitations

      Q: I have a degraded RAID with multiple failed drives. I have replaced all of the drives, but when I try to rebuild on all of these drives the operation fails. Why is this happening? A: MegaRAID controllers can only rebuild one drive at a time. You ...
    • Install Windows Server 2008/2012 over an Existing RAID Array

      How to install Windows Server on an existing RAID array greater than 2TB in size Why is this a problem? When installing Windows on UEFI-based PC's with RAID arrays you must partition your hard drives using GPT. Traditional MBR-type drives are limited ...