wr0ngway/rubber — pull request #200 by messick (2012-08-08 06:43:44+00:00)
Title: without disabling udev events, mdadm will not be able to create RAID array

I was trying to build a RAID array using EBS volumes, and I was getting a "mdadm: ADD_NEW_DISK for /dev/XXXX failed: Device or resource busy" error.

After looking around, it appears that there is a recent problem with mdadm and Ubuntu 12.04. There I already a bug filed (see link below).

This commit stops and then starts udev events, which allows the RAID array to be created.

https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1030354