What problem does it solve?
This Skill prevents and resolves Linux mdadm RAID5/6 stripe-cache deadlocks that freeze mdcheck and system IO, where disks look healthy (SMART PASSED) but fsync/COMMIT and container writes hang until the system is rebooted.
Core Features & Use Cases
- Diagnose the deadlock pattern: Detect high load with iowait, many blocked (D-state) processes, frozen sync_action, near-zero sync speed, and kernel stack evidence consistent with
raid5_get_active_stripe lock contention.
- Make reboot safe and repeatable: Disable RAID auto rechecks (mdcheck/mdadm autocheck), skip root fsck when appropriate, ensure SSH backup access via Cloudflare Tunnel, and verify container restart policies so services come back.
- Verify recovery immediately after reboot: Re-check blocked process counts, confirm RAID sync_action returns to idle, validate
/data writeability, and confirm critical service reachability.
Quick Start
Run the diagnose script with your md device name to confirm the deadlock pattern, then follow the pre-reboot hardening script before rebooting.