[Bug 968074] Re: Partitionable raid ignored by 65-mdadm-blkid.rules
Dmitrijs Ledkovs
launchpad at surgut.co.uk
Fri Jul 27 09:23:31 UTC 2012
@ Steve Langasek,
The incremental assembly is only triggered on [format]_raid_members.
SUBSYSTEM!="block", GOTO="md_end"
KERNEL!="md*", GOTO="md_end"
So something needs to be a block device and match a name md*. The current $ man 4 md , reserves:
/dev/mdn
/dev/md/n
/dev/md/name
Or I would hope linux developers assume that /dev/md* is reserved for mdadm. So theoretically there is a possibility to *mis*assembly since there is no centralised linux kernel device namespace (that I know of). In practice such non-mdadm md* block devices are not known to exist yet.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/968074
Title:
Partitionable raid ignored by 65-mdadm-blkid.rules
Status in “mdadm” package in Ubuntu:
Fix Released
Status in “mdadm” source package in Precise:
Fix Committed
Status in “mdadm” source package in Quantal:
Fix Released
Bug description:
[IMPACT]
* Partitionable raid1 arrays following the /dev/md_d[0-9]* naming
convention were ignored by the default udev settings.
* Thus it prevents booting, if rootfs is on the partitioned RAID
array, since that would never be assembled by udev rules
* This is fixed by switching from dated Ubuntu udev rules, to the now
shipped in the upstream udev rules
[TESTCASE]
* Add partitioned RAID1 to the system
* Notice that it doesn't get assembled
* Upgrade the package
* Re-add partitioned RAID1 to the system
* Notice that it does get assembled
[Regression Potential]
* The default udev rule has changed. Users who relied on the
previous, incomplete/broken, behaviour may be pleasantly surprised or
annoyed that by-hand assembly of partitioned RAID arrays is not
longer required.
* System administrators need to check their /etc/udev/rules.d/ to
make sure that (a) they do not override mdadm rules (b) if they do,
check that those overrides are still needed (c) that the override is
named to match the new udev rule name.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/968074/+subscriptions
More information about the foundations-bugs
mailing list