A transient MD activation failure has no scheduled retry
Author: shanduurCreated Sep 9, 2026Updated Sep 27, 2026
The last-resort controller consumes its grace timer before attempting mdadm --run. If the command fails, the controller logs the error and waits for another block-device or udev-service event. It does not rearm the timer.
A transient failure can therefore leave an otherwise recoverable array inactive indefinitely if nothing else changes. The monitor controller's restart backoff does not cover this activation path.
Expected behavior
- Retryable failures schedule bounded backoff, without a tight loop.
- Each attempt checks current array eligibility and prerequisite health.
- Retries stop when no eligible arrays remain or the controller stops.
- Tests cover no-event recovery and persistent failure. Retries do not add blanket
--forceassembly.
References
Source: siderolabs/talos