Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2009:1382 - Bug Fix Advisory
Issued:
2009-09-02
Updated:
2009-09-02

RHBA-2009:1382 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

mdadm bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated mdadm package that fixes several bugs and adds an enhancement is
now available.

Description

mdadm is used to create, manage, and monitor Linux MD (software RAID)
devices. It provides similar functionality to the raidtools package.

This updated package fixes the following bugs:

  • the Linux software raid stack supports data scrubbing (reading disks in

the raid array and looking for bad sectors, and when bad sectors are found
using information from other disks or from parity to rewrite the bad
sectors with good data). However, the mdadm package did not make use of
this functionality. This package adds a cron job to /etc/cron.weekly to
check disks for bad sectors and repair them when found. (BZ#233972)

  • the mdadm man page contained several typos and was not clear on the

proper usage of a number of mdadm options. The typos have been removed and
notes and clarifications have been added so that the man page now better
reflects the proper usage and limitations of the mdadm command. (BZ#434670,
BZ#434671, BZ#489476)

  • mdadm did not recognize the "-N" and "-Y" short options, although it

recognized their long equivalents ("--name" and "--export") and they were
listed as valid in mdadm --help. Mdadm now recognizes these short options.
(BZ#478977)

  • a new raid-check script (see the enhancement note below) attempted to

check arrays that were not checkable. The script first retrieved a list of
active arrays from /proc/mdstat then attempted to write "check" to the
sync_action element of each array's sysfs entry. Non-redundant arrays (such
as linear and raid0 arrays) do not have a sync_action entry in sysfs,
however. Note: this did not prevent the script from checking arrays that
could be checked but did cause cron job output errors to be e-mailed to the
system administrator. The raid-check script now checks for a sync_action
element in sysfs before writing to it. (BZ#513473)

This update also adds the following enhancement:

  • with this update mdadm has new functionality to enable "data scrubbing"

on redundant arrays. Data scrubbing looks for bad sectors on drives in
redundant arrays and fixes the bad sectors using data from other drives to
reconstruct sectors that return read errors. Note: data scrubbing is on by
default in this new package. It runs once per week and may cause some
performance degradation while it is running. If users wish to disable this
feature for performance reasons, or if they wish to control what type of
check is performed on arrays, or which arrays to check at all, edit the
file /etc/sysconfig/raid-check. Details of how to set options are included
in the file as comments. (BZ#513200)

This package also updates the upstream source base from mdadm-2.6.4 to
mdadm-2.6.9. For a list of the changes and bug fixes included via this
upstream update, please read the various ANNOUNCE-* files located in
/usr/share/doc/mdadm-2.6.9 after installing the updated mdadm-2.6.9
package.

All mdadm users are advised to upgrade to this updated package, which
resolves these issues and adds this feature.

Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 5 x86_64
  • Red Hat Enterprise Linux Server 5 ia64
  • Red Hat Enterprise Linux Server 5 i386
  • Red Hat Enterprise Linux Workstation 5 x86_64
  • Red Hat Enterprise Linux Workstation 5 i386
  • Red Hat Enterprise Linux Desktop 5 x86_64
  • Red Hat Enterprise Linux Desktop 5 i386
  • Red Hat Enterprise Linux for IBM z Systems 5 s390x
  • Red Hat Enterprise Linux for Power, big endian 5 ppc
  • Red Hat Enterprise Linux Server from RHUI 5 x86_64
  • Red Hat Enterprise Linux Server from RHUI 5 i386

Fixes

  • BZ - 233972 - Enhancement request to Software RAID to do Data Scrubbing
  • BZ - 434670 - mdadm.8 typos
  • BZ - 434671 - mdadm.8 says "mdadm -G -x" is valid, but it is rejected.
  • BZ - 478977 - mdadm does not recognize "-N" and "-Y" options
  • BZ - 513473 - raid-check script attempts to check arrays that aren't checkable

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 5

SRPM
mdadm-2.6.9-2.el5.src.rpm SHA-256: 78217f4339b5215659c0dda590acdacf481c6add961137c35d8897316006715e
x86_64
mdadm-2.6.9-2.el5.x86_64.rpm SHA-256: ed71dc2b6fdf085ed8e99ab7219a40e86c33fd69c1d07aa5108ce5924a4c5328
ia64
mdadm-2.6.9-2.el5.ia64.rpm SHA-256: 5a894f6cec83b7bd71ca1839a736631231c60e04cfa1b8947e0270dfec71ae86
i386
mdadm-2.6.9-2.el5.i386.rpm SHA-256: 8c0f6e1035882b8ed6d30cab4d4fd8a81b38052fa45ceb2029512fab93c0ca2d

Red Hat Enterprise Linux Workstation 5

SRPM
mdadm-2.6.9-2.el5.src.rpm SHA-256: 78217f4339b5215659c0dda590acdacf481c6add961137c35d8897316006715e
x86_64
mdadm-2.6.9-2.el5.x86_64.rpm SHA-256: ed71dc2b6fdf085ed8e99ab7219a40e86c33fd69c1d07aa5108ce5924a4c5328
i386
mdadm-2.6.9-2.el5.i386.rpm SHA-256: 8c0f6e1035882b8ed6d30cab4d4fd8a81b38052fa45ceb2029512fab93c0ca2d

Red Hat Enterprise Linux Desktop 5

SRPM
mdadm-2.6.9-2.el5.src.rpm SHA-256: 78217f4339b5215659c0dda590acdacf481c6add961137c35d8897316006715e
x86_64
mdadm-2.6.9-2.el5.x86_64.rpm SHA-256: ed71dc2b6fdf085ed8e99ab7219a40e86c33fd69c1d07aa5108ce5924a4c5328
i386
mdadm-2.6.9-2.el5.i386.rpm SHA-256: 8c0f6e1035882b8ed6d30cab4d4fd8a81b38052fa45ceb2029512fab93c0ca2d

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
mdadm-2.6.9-2.el5.src.rpm SHA-256: 78217f4339b5215659c0dda590acdacf481c6add961137c35d8897316006715e
s390x
mdadm-2.6.9-2.el5.s390x.rpm SHA-256: b860a81a0d18c44699442a230fb6a57fcd31c24927f4c6f00f623c05897c191d

Red Hat Enterprise Linux for Power, big endian 5

SRPM
mdadm-2.6.9-2.el5.src.rpm SHA-256: 78217f4339b5215659c0dda590acdacf481c6add961137c35d8897316006715e
ppc
mdadm-2.6.9-2.el5.ppc.rpm SHA-256: 3cf58dbd01967933a4dc4b949edaa0113d8c7363dd33a899cead37b836b6a72e

Red Hat Enterprise Linux Server from RHUI 5

SRPM
mdadm-2.6.9-2.el5.src.rpm SHA-256: 78217f4339b5215659c0dda590acdacf481c6add961137c35d8897316006715e
x86_64
mdadm-2.6.9-2.el5.x86_64.rpm SHA-256: ed71dc2b6fdf085ed8e99ab7219a40e86c33fd69c1d07aa5108ce5924a4c5328
i386
mdadm-2.6.9-2.el5.i386.rpm SHA-256: 8c0f6e1035882b8ed6d30cab4d4fd8a81b38052fa45ceb2029512fab93c0ca2d

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility