Linux Software RAID Failure Alert - Troubleshooting Guide
Purpose
This document provides a standardized approach for handling and troubleshooting the Linux Software RAID Failure alert, enabling L1 and L2 engineers to respond quickly, minimize risk, and maintain system stability.
Alert Name
Linux Software RAID Failure
Alert Description
This alert is triggered when a RAID disk failure is detected. It indicates that one or more RAID members have failed, placing the RAID array in a degraded state.
There is an immediate risk if another disk fails before the rebuild is completed.
Severity
P3 – Medium Impact
Possible Causes
- Disk hardware failure
- RAID member disk missing or disconnected
- I/O errors on disk
- RAID controller or configuration issues
- System-level disk detection issues
L1 Engineer Actions
Step 1 – Log the Alert
- Log in to the monitoring system
- Review:
- Alert summary
- Affected host/system
Step 2 – Create Ticket
- Create an internal ticket including:
- Alert name
- Hostname
- Timestamp
- Initial observations
Step 3 – Escalation (If required)
- Inform L2 team immediately
- Share alert details and observations
Step 4 – Documentation
- After confirmation with L2:
- Update Issue Master Sheet/ Issue Tracking Sheet
L2 Engineer Actions
Step 1 – Check RAID Status
cat /proc/mdstat
- Look for
[UU] → healthy || [U_] or [_U] → degraded (one disk failed) - Identify degraded RAID arrays
- Detailed info: sudo mdadm --detail /dev/md0
State → clean, degraded, recovering
-
Active Devices vs Failed Devices
- Note failed or missing disks
Step 2 – Identify Failed Disk
- Check which disk dropped:
- sudo mdadm --detail /dev/md0 | grep -i faulty
- Device name using lsblk (e.g.,
/dev/sda, /dev/sdb)
- RAID group affected
- Cross-check logs:
- dmesg | grep -i error
Step 3: Mark Disk as Failed / Remove (if not already)
- sudo mdadm --manage /dev/md0 --fail /dev/sdX
- Then remove it: sudo mdadm --manage /dev/md0 --remove /dev/sdX
Step 4: Replace the Disk
-
Physically replace the drive (or attach new one)
-
Partition it (match existing layout)
- Copy partition table: sudo sfdisk -d /dev/sdY | sudo sfdisk /dev/sdX
Step 5: Add New Disk to Array & Monitor
- Add disk to array: sudo mdadm --manage /dev/md0 --add /dev/sdX
- Monitor the Rebuild: watch cat /proc/mdstat
- You will see: recovery = XX% complete
Step 6: Verify after rebuild
- Ensure:
- No failed devices
- State =
clean
- sudo mdadm --detail /dev/md0
Step 7: Check Configuration Persistence
- Make sure RAID config is saved: sudo mdadm --detail --scan | sudo tee -a /etc/mdadm/mdadm.conf
- update initramfs: sudo update-initramfs -u
Step 8: Prevent Future Failures
- Enable SMART monitoring: sudo smartctl -a /dev/sdX
- Schedule regular RAID checks: echo check > /sys/block/md0/md/sync_action
Step 9 – Create OEM Support Ticket
- If issue is still persistent raise the concern with OEM
- Raise a ticket with hardware OEM
- Provide:
- RAID status output
- Server details
- Disk failure information
Resolution
The issue is considered resolved when:
- Failed disk is replaced
- RAID array is rebuilt successfully
- RAID status returns to healthy state
- No degraded arrays are present
Escalation
- L1 → L2: Immediate escalation after alert validation
- L2 → OEM/Vendor: For disk replacement and hardware support
Related Articles
RAID Card Detection Validation Procedure
This document outlines the standard technical steps to validate whether a RAID controller card is installed and detected correctly in a server system. These steps should be followed by field engineers and support teams whenever RAID detection issues ...
ZFS Pool Error Alert - Troubleshooting Guide
Purpose This document provides a standardized approach for handling and troubleshooting the ZFS Pool Error alert, enabling L1 and L2 engineers to quickly identify disk-related issues, prevent data loss, and maintain storage reliability. Alert Name ...
Network Down Extern (P1 Critical Alert) - Troubleshooting Guide
Purpose This document provides a standardized approach for handling and troubleshooting the Network Down - Extern alert, including L1 and L2 actions, escalation procedures, and resolution criteria for critical incidents. Alert Name Network Down - ...
Set up RAID 0 using mdadm
Steps to configure RAID 0 in Centos7. Code lsblk yum install -y mdadm mdadm --create --verbose /dev/md0 --level=0 --raid-devices=2 /dev/sdb /dev/sdc mkfs.ext4 /dev/md0 mkdir /mnt/raid0-drive mount /dev/md0 /mnt/raid0-drive df -h Code Summary LSBLK: - ...
ZFS Pool Capacity Warning Alert - Troubleshooting Guide
Purpose This document provides a standardized approach for handling and troubleshooting the ZFS Pool Capacity Warning alert, helping L1 and L2 engineers prevent storage exhaustion and maintain system stability. Alert Name ZFS Pool Capacity Warning ...