[Bug 551719] Re: boot delay and udev/mdadm (raid) disturbance (obsolete MD_AUTODETECT=y)

Jean-Philippe Guérard jean-philippe.guerard at tigreraye.org
Sat May 5 23:25:53 UTC 2012


*** This bug is a duplicate of bug 942106 ***
    https://bugs.launchpad.net/bugs/942106

** This bug has been marked a duplicate of bug 942106
   mdadm-functions missing udevadm settle (?)

-- 
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:
  boot delay and udev/mdadm (raid) disturbance (obsolete
  MD_AUTODETECT=y)

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