[Bug 990913] Re: RAID goes into degrade mode on every boot 12.04 LTS server

Andrew Martin amartin at xes-inc.com
Mon Jul 1 17:31:47 UTC 2013


I have also noticed this bug on an Ubuntu 12.04 server. The workaround I've come up with is:
* install the backported Quantal kernel (3.5.x) by installing the linux-generic-lts-quantal package
* add the following patch to /usr/share/initramfs-tools/scripts/mdadm-functions:
--- /tmp/a/mdadm-functions      2013-07-01 12:28:46.896519157 -0500
+++ /tmp/b/mdadm-functions      2013-07-01 12:28:55.136677837 -0500
@@ -3,6 +3,9 @@

 degraded_arrays()
 {
+       udevadm settle
+       echo "Waiting for RAID arrays to be ready..."
+       sleep 20
        mdadm --misc --scan --detail --test >/dev/null 2>&1
        return $((! $?))
 }

Note that just adding "udevadm settle" was not enough in my case - the
sleep was also required.

-- 
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/990913

Title:
  RAID goes into degrade mode on every boot 12.04 LTS server

Status in “mdadm” package in Ubuntu:
  Confirmed

Bug description:
  I have 2 new Dell PowerEdge R515.
  Box have 2 internal SAS drives and 12 hot swap
  I create a 12 driver raid 6 array on the 12 hot swap drives
  without problem but on every reboot I get a message about 
  either degraded or not enough drives for the raid 6.

  If I shutdown and pull all 12 drives and let boot. Then plug them in.
  The array comes up fine most everytime.

  This happens on both of these new R512

  Also loaded 12.04 LTS server on a R710 and
  the mpt2sas load and times out. I had to
  add rootdelay=180 to boot parms.

  Description:    Ubuntu 12.04 LTS
  Release:        12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/990913/+subscriptions




More information about the foundations-bugs mailing list