20
Feb
09

ubuntu and sata (fake) raid on a proliant ml320

or any other “server” with a cheap sata raid card for that matter.

it fails, you can try the fakeraid howto for < 8.10 versions, but your best shot is to use the 8.10 alternate install cd (only one that supports this feature).

It will prompt you to activate the embedded sata raid devices, which you’ll obviously do, the rest of the installation is the same as a regular install, minus the graphic mode.

Chances are that you won’t be able to boot after the installation and get a busybox shell prompt with an error message “Gave up waiting for root device”.

Check if this lets you continue with the boot sequence:

dmraid -ay
exit

if it does, you’ve hit the jackpot.

edit your /usr/share/initramfs-tools/scripts/local-top/dmraid to look like this:

#!/bin/sh

PREREQ="udev"

prereqs()
{
echo "$PREREQ"
}

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

/sbin/udevadm settle --timeout=30
modprobe -Q dm-mod
modprobe -Q dm-mirror

[ -x /sbin/dmraid ] && /sbin/dmraid -ay

and execute as root:

update-initramfs -u

more info:
https://help.ubuntu.com/community/FakeRaidHowto
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/247027


1 Response to “ubuntu and sata (fake) raid on a proliant ml320”


  1. 1 TJ May 25th, 2009 at 7:40 pm

    Thanks a lot this resolved my issue!

Leave a Reply