Anaconda use mdraid for certain BIOS-RAID types
Use mdraid instead of dmraid for certain BIOS-RAID types (currently only Intel BIOS-RAID using imsm meta-data).
- Name: Hans De Goede
- email: jwrdegoede AT fedoraproject DOT org
- Targeted release: Fedora 12
- Last updated: 2009-07-09
- Percentage of completion: 70%
Anaconda will use mdraid instead of dmraid to get access to BIOS-RAID sets using the imsm metadata format. Supporting imsm Raid 0, 1, 5, and 10 sets.
Benefit to Fedora
mdraid offers a number of features over dmraid, and mdraid is where all future development for Intel BIOS-RAID will happen, the most direct visible benefit is support for raid5 sets.
The code is mostly written and is currently being tested, still todo:
- dracut support
How To Test
Testing will require Intel BIOS-RAId capable hardware.
We will have to verify the following areas of functionality:
- recognize Raid 0,1, 5, 6, 10 devices and install correctly
- on new partitions
- on existing partitions
- on new LVM logical volumes
- on preexisting LVM logical volumes
- automatic partitioning of systems
- clearing of existing devices/partitions
- boot successfully after install
- grub needs to be installed correctly
- dracut needs to handle imsm metadata raid sets correctly
- detection of existing upgradable installations with widely varied storage configurations
- rescue mounting of existing systems with a wide variety of storage configurations
No impact unless you have this hardware but current users of Intel ISW hardware and dmraid will find their device names changed.
- mdadm 3.0 final (in rawhide now)
Fall back to using dmraid for imsm metadata, the dmraid code will be kept around for handling other metadata formats.
- FIXME: Will need to include in Installation Guide.
Fedora 12 now uses mdraid instead of dmraid for installation onto Intel BIOS-RAID sets, which should be detected automatically. Devices with Intel ISW metadata will be recognized as mdraid NOT dmraid after this change, which will cause them to have different device node names.
This means that special precautions must be taken when upgrading systems with Intel BIOS-RAID sets, by default Fedora does not refer to these device by their device node name, but uses UUID, so default installations can be upgraded without problems.
Before upgrading installations with local modifications to /etc/fstab or /etc/crypttab, or to other configurationfiles which refer to device node names, the affected files need to be manually edited to refer to the devices by UUID instead of by device node path, see the output of the "blkid" command for the UUID's for your devices.
Comments and Discussion
- See Talk:Features/AnacondaStorageRewrite for conversation without bogging down the main feature page