udev not recognizing mdraid partitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: udev
Current udev rules mdraid disks seem not to find raid devices, thus leading to a boot failure (boot drops into busybox).
As far as I can tell, what is happening is that new kernels use a modified /dev naming convention for raid devices, while the udev scripts are expecting the old convention. Thus, for example:
-- create a new md device, for example "mdadm -C /dev/md1 -a md1 -l1 -n2 /dev/sda1 /dev/sdb1"
--,reboot
-- after the reboot, the raid device will show up as /dev/md_d125 (for example) instead of the expected /dev/md1 This is annoying, perhaps, but not (yet) fatal.
-- udev runs automatically, uses the rules in /lib/udev/
-- as a result, no links are created in /dev/disk/by-uuid or /dev/disk/by-label, etc.
-- as a result, entries in /etc/fstab and/or grub/menu.cfg can fail, if the disk was specified by label or by uuid.
The overall result is confusing/painful to work-around/fix esp if one is trying to make /boot or / into a raid device :-(
Note that there is an interaction with the /etc/mdadm/
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: udev 151-12.3
ProcVersionSign
Uname: Linux 2.6.32-27-generic x86_64
Architecture: amd64
CustomUdevRuleF
Date: Sun Jan 9 18:12:53 2011
MachineType: Dell Inc. Dell DM061
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: udev
dmi.bios.date: 03/30/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.3.2
dmi.board.name: 0WG864
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Dell DM061
dmi.sys.vendor: Dell Inc.