Pcornel
Storage · RAID

Battery / Flash-backed Cache

Cheat sheet · https://pcornel.dk/topic.php?topic=3928

Back to the Topic

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 state
  • ssacli 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 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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3928

Confirmation

Confirm action

Continue?