[Bug 931929] Re: root on RAID:0 fails to boot

quequotion 931929 at bugs.launchpad.net
Wed Feb 22 04:13:03 UTC 2012


>>Thomas

Done.

Even more deja vu!

I think we used the same work around back in Jaunty.

For more detail, here's that script:

---SCRIPT BEGIN---
#!/bin/sh

# local-top script for dmraid.

PREREQS=""
prereqs()
{
	echo $PREREQS
}

case $1 in
# get pre-requisites
prereqs)
	prereqs
	exit 0
	;;
esac

# Activate any dmraid arrays that were not identified by udev and
vol_id.

#if devices=$(dmraid -r -c); then
#	for dev in $devices; do
#		dmraid-activate $dev
#	done
#fi

dmraid -ay
---SCRIPT END---

When udev fails, the "if" clause I've commented out should activate the
raid drives, but it doesn't...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/931929

Title:
  root on RAID:0 fails to boot

Status in tools for generating an initramfs:
  New
Status in “initramfs-tools” package in Ubuntu:
  Confirmed

Bug description:
  Once again booting from RAID is broken.

  There were similar bugs in Jaunty, Karmic, and Lucid.
  I don't recall encountering this error in Natty.
  It was definetly not present in Oneiric.

  Steps to reproduce:
  1. Upgrade to Precise (fresh install not tested, but likely has the same problem)
  2. Reboot
  3. Observe failure to find root and drop to busybox

  initramfs is not loading dmraid and therefore fails to boot.

  To work around this, when given the busybox prompt enter:

  dmraid -ay

  and verify that your raid devices are initialized, thn enter:

  exit

  and booting should continue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/initramfs-tools/+bug/931929/+subscriptions




More information about the foundations-bugs mailing list