16.10. RAID services


You can automate RAID consistency checks using systemd and mdadm. Schedule regular scans, detect and repair bad blocks, and log inconsistencies to maintain storage reliability on Linux systems.

The following components work together to perform automated RAID consistency checks on systems by using mdadm with systemd:

config.file
The /etc/sysconfig/raid-check file contains the configuration instructions for the RAID check behavior.
raid-check.timer
This is a systemd timer that determines when the raid-check service runs. You can configure its schedule as needed.
raid-check.service
This is a systemd raid-check service that runs when triggered by the raid-check timer. It executes the /usr/sbin/raid-check script.
raid-check script
The raid-check.service executes the raid-check script. It checks for data mismatch counts and attempts to repair any bad blocks found. If a mismatch is detected, it logs a warning, except for RAID1 and RAID10, where mismatch counts do not work. However, it still performs check operations on RAID and RAID10 to identify and fix bad blocks.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部