UdevMdadm

Revision 2 as of 2006-11-08 22:36:50

Clear message

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

This specification details how to make udev and mdadm play nicely together, in particular ensuring that udev events are issued for mdadm volumes and that UUIDs are correctly exported and do not conflict.

Rationale

mdadm is used by system administrators to perform RAID operations such as mirroring or striping without hardware support. In order to support event-based mounting of these filesystems, we need reliable events from the block subsystem and no race conditions.

Use cases

  • Jerry is a system administrator who uses software raid, via mdadm, for his root filesystem. He would like this to continue to be supported.

Scope

The scope of this specification is limited to the interaction between udev and mdadm; other specifications address similar concerns with device-mapper, LVM, etc.

Design

Most of the work for this to be supported has been done in Debian, ensuring that mdadm is run on udev events for the md block devices.

A bug in edgy that exposed the UUID of the component blocks of the RAID collection has been already fixed for feisty.

The UUID of the RAID itself can be exposed, as we receive udev events for when the md device is created or changed.

Implementation

  • Merge mdadm from Debian.
  • Upload udev 103.


CategorySpec