A battery backup unit (BBU) sits on a hardware RAID controller and keeps the controller's write cache powered long enough to flush it after a power failure. It is the component that makes write-back caching safe on a parity array.
When the battery ages out, controllers usually fall back to write-through mode. Performance drops sharply, and administrators often notice the slowdown before they notice the battery alert.
Write-back caching acknowledges a write as soon as it reaches the controller's DRAM, before it reaches the disks. That is fast, and it keeps the array from waiting for slow parity updates. The risk is obvious: if power disappears, the cached writes disappear with it.
The BBU holds that DRAM long enough for the controller to write the pending data to disk on the next start. Some designs also use the battery to keep the cache alive while the system shuts down cleanly.
This protection exists only because a dedicated controller owns the cache; the hardware RAID vs software RAID comparison shows what a software array relies on instead of a battery-backed unit.
| Design | How it works | Trade-off |
|---|---|---|
| Lithium-ion BBU | Battery powers DRAM for hours or days | Battery ages, needs periodic replacement and relearn cycles |
| Supercapacitor + flash | Capacitor powers a dump of DRAM to NAND | No battery to replace, but protection lasts only for the dump |
Both approaches protect the same window. The supercapacitor design is common on newer controllers because it avoids battery chemistry and the replacement schedule.
With a healthy BBU, the controller can use write-back with write cache enabled. Without one, a cautious controller switches to write-through, which waits for the disks before acknowledging the write.
The difference in performance is large for databases, virtual machines and any workload with many small synchronous writes. It is also the reason a failed battery can look like a slow disk rather than a hardware fault.
Keep a spare module for older controllers. A replacement that takes weeks to arrive leaves the array slow for weeks.
A UPS powers the whole server, giving it time to shut down. A BBU protects only the controller cache, and it does so even when the server loses power instantly. They solve different problems and are often used together: the UPS keeps the system running, and the BBU guarantees that cached writes are not lost if the UPS also fails.
Startup demand matters too: staggered spin-up brings the drives online one at a time so the inrush current stays within what the power supply and the UPS can deliver.
Cache protection does not protect against deletion or controller failure. Keep an image of the array on a separate device.
Step 1. Connect an external drive and open Backup and Recovery in Qiling Disk Master.

Step 2. Tick the RAID volume and click the folder icon to set the destination.

Step 3. Choose a folder on the external drive and click OK.

Step 4. Click Proceed and verify the image before you replace the battery.

Yes, in write-through mode. The array is safe, but small synchronous writes become much slower.
No. It protects cached writes during a power loss. Disk redundancy comes from the RAID level.
It depends on the design and the age of the battery. Vendors quote hours to days for lithium-ion units; supercapacitor designs hold only long enough to dump the cache to flash.