Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Battery / Flash-backed Cache

Direct answer

Traditional battery-backed write cache keeps volatile cache powered for a retention period; flash-backed designs typically preserve dirty cache contents to non-volatile flash using a battery or supercapacitor during power loss. Exact retention and recovery behavior is controller-specific and must be verified.

When to use this

Use it when configuring, checking or troubleshooting Battery / Flash-backed Cache in RAID.

First 30 seconds

1. BBU/FBWC protects cache on power loss.

2. Batteries wear out and relearn cycles.

3. Failed protection → write-through (performance drop).

4. Monitor and replace.

5. Flash-backed preferred.

Operational verification

power loss → cache protected → flushed on restore

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

Healthy cache protection can preserve controller-cached writes through supported power-loss conditions; it does not replace backups or guarantee correctness outside the controller's cache domain.

Suspicious evidence: battery/supercap is failed or learning for excessive periods, cache is disabled/falls back unexpectedly, preserved cache cannot be recovered, or write-back remains unsafe.

Platform / version applicability
RAID storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformRAID storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting Battery / Flash-backed Cache in RAID.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

host write → volatile controller cache → protected acknowledgement → power-loss event → battery hold OR flash offload → controller recovery → destage to members

Healthy evidence: protection unit reports ready/charged, cache module is healthy, write-back policy is permitted and recovery status contains no preserved/dirty-data alarms.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Battery-backed cache and flash-backed cache use different protection mechanisms.
  • Protection unit present ≠ protection unit healthy.
  • Protected controller cache ≠ application backup.
  • Cache protection does not protect data already corrupted before acknowledgement.
Key checks
  • storcli /c0/cv show all — CacheVault (flash-backed)
  • storcli /c0/bbu show all — battery state
  • ssacli ctrl all show status — HPE cache status
ReferenceImportant terms & boundaries2 sections · depth on demand

Protection

Healthy cache protection can preserve controller-cached writes through supported power-loss conditions; it does not replace backups or guarantee correctness outside the controller's cache domain.

This topic owns RAID cache power-loss protection. RAID Controller and Write Cache own surrounding controller/cache policy.

In depth

A battery backup unit (BBU) keeps the cache DRAM powered for hours or days after power loss; a flash-backed cache (FBWC, CacheVault) uses a supercapacitor to copy DRAM to flash in seconds and then needs no power. Flash-backed modules have largely replaced batteries because they do not need periodic replacement or learn cycles.

Check the module status regularly: a failed or charging module silently switches volumes to write-through, which can multiply write latency.

storcli /c0/cv show all       # CacheVault
storcli /c0/bbu show all      # BBU
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docRAID storage current

Authoritative/upstream documentation reviewed for bounded claims in RAID → Battery / Flash-backed Cache. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/admin-guide/md.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
battery backed cacheflash backed write cachebbwcfbwccache battery
Embedded reference data

Quick lookup tables

RAID → Battery / Flash-backed Cache RAID map

Fast layout, protection, failure and verification boundaries for RAID → Battery / Flash-backed Cache.

RAID boundaryWhat to verifyProof limit
Layout / topologyRAID level, member grouping, effective member size and stripe/mirror/parity structureThe label alone does not prove current member health or exact failure tolerance
Protection stateArray state, members, spares, cache protection and active rebuild/consistency workOptimal/online state does not prove backup or application integrity
Failure boundaryHealthy cache protection can preserve controller-cached writes through supported power-loss conditions; it does not replace backups or guarantee correctness outside the controller's cache domain.Failure tolerance must be evaluated against the exact layout and failure pattern
AcceptanceHealthy evidence: protection unit reports ready/charged, cache module is healthy, write-back policy is permitted and recovery status contains no preserved/dirty-data alarms.Close only after the original workload/data check succeeds
Confirmation

Confirm action

Continue?