Comment 3 for bug 931929

Revision history for this message
quequotion (quequotion) wrote : Re: root on RAID:0 fails to boot

>>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...