Battery / Flash-backed Cache
Cheat sheet · https://pcornel.dk/topic.php?topic=3928
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.
Remember
- 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.
First checks
storcli /c0/cv show all— CacheVault (flash-backed)storcli /c0/bbu show all— battery statessacli ctrl all show status— HPE cache status
Verify in this order
power loss → cache protected → flushed on restore
Where it usually breaks
First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.
RAID → Battery / Flash-backed Cache RAID map
| RAID boundary | What to verify | Proof limit |
|---|---|---|
| Layout / topology | RAID level, member grouping, effective member size and stripe/mirror/parity structure | The label alone does not prove current member health or exact failure tolerance |
| Protection state | Array state, members, spares, cache protection and active rebuild/consistency work | Optimal/online state does not prove backup or application integrity |
| Failure boundary | 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. | Failure tolerance must be evaluated against the exact layout and failure pattern |
| Acceptance | 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. | Close only after the original workload/data check succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3928