[Bug 551719] Re: boot delay and udev/mdadm (raid) disturbance (obsolete MD_AUTODETECT=y)
ceg
551719 at bugs.launchpad.net
Sun May 6 00:24:37 UTC 2012
This can not be a duplicate of bug #942106. This is about an obsolete
kernel option for very old style kernel raid assembly. It slows mdadm
assembly down and can grab devices.
In case a patch to another bug fixes this bug too, please mark the patch
as closing multiple bugs.
** Summary changed:
- boot delay and udev/mdadm (raid) disturbance (obsolete MD_AUTODETECT=y)
+ MD_AUTODETECT=y is obsolete (boot delay and udev/mdadm (raid) disturbance)
** Summary changed:
- MD_AUTODETECT=y is obsolete (boot delay and udev/mdadm (raid) disturbance)
+ MD_AUTODETECT=y kernel option is obsolete (boot delay and udev/mdadm (raid) disturbance)
--
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/551719
Title:
MD_AUTODETECT=y kernel option is obsolete (boot delay and udev/mdadm
(raid) disturbance)
Status in “linux” package in Ubuntu:
Confirmed
Status in “mdadm” package in Ubuntu:
Confirmed
Bug description:
Ubuntu still uses the kernel option
CONFIG_MD_AUTODETECT=y
thus enables the kernel's RAID autodetection during boot.
However, aside from causing a delay for everyone, this often also disturbs the udev/mdadm setup when raid devices are present in the system.
(i.e. devices are partly busy/set up by the kernel, without an entry in the mapfile used by mdadm --incremental)
Here is what README.initrams from mdadm tarball says about the
kernel's raid autodetection features:
"while useful, [they] do not provide complete functionality
and are unlikely to be extended. The preferred way to assemble md
arrays at boot time is using 'mdadm' "
Ubuntu does assemble arrays using udev rules that run mdadm. (In
initramfs as well as later on.)
The kernel's raid autodetection can and should therefore be disabled
in ubuntu kernels.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/551719/+subscriptions
More information about the foundations-bugs
mailing list