mdadm

Manage Linux software RAID arrays with the mdadm command-line tool.

6|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill mdadm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mdadm
Source: https://github.com/L3DigitalNet/Claude-Code-Plugins/tree/main/plugins/linux-sysadmin/skills/mdadm
Command: npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill mdadm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex task of managing Linux software RAID arrays using the mdadm utility, ensuring data integrity and availability.

Core Features & Use Cases

  • RAID Management: Create, assemble, monitor, and stop various RAID levels (0, 1, 5, 6, 10).
  • Disk Operations: Add, replace, and fail disks within existing arrays.
  • Troubleshooting: Diagnose degraded arrays, stalled rebuilds, and configuration issues.
  • Use Case: Recover a degraded RAID-5 array by identifying the failed disk, replacing it, and initiating a rebuild process.

Quick Start

Check the status of all mdadm RAID arrays on the system.

Frequently Asked Questions about mdadm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Linux software RAID array with mdadm?

To create a Linux software RAID array, use the mdadm utility to define your RAID level and assemble disks. This requires direct interaction with kernel modules and modifying the mdadm.conf system configuration file.

How do I recover a degraded RAID 5 array after a disk failure?

To recover a degraded RAID 5 array, identify the failed disk, physically replace it, add the new disk to the array, and initiate the rebuild process. The mdadm tool manages disk addition, failure handling, and array assembly.

Can I add or replace disks in an existing Linux software RAID configuration?

Yes, you can add, replace, and fail disks within existing Linux software RAID configurations using mdadm. This allows you to manage disk operations and maintain data integrity without stopping the array.

How do I monitor and troubleshoot stalled RAID rebuilds in Linux?

Monitor RAID arrays and troubleshoot stalled rebuilds by checking the status of mdadm arrays. This diagnostic process identifies degraded arrays, resolves configuration issues, and ensures data availability and integrity.

What RAID levels does mdadm support for Linux storage management?

Linux software RAID management via mdadm supports RAID levels 0, 1, 5, 6, and 10. These configurations provide various options for data striping, mirroring, and parity to ensure system availability and data integrity.

Why does my mdadm RAID configuration not persist after a system reboot?

A mdadm RAID configuration may not persist if the system configuration files are incorrect. Ensure mdadm.conf is properly configured and kernel modules are loaded to successfully assemble arrays during boot.