initrd scripts don't detect mirror
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
the /scripts/
mdadm --assemble /dev/md0 /dev/sda3 /dev/sdb1
by hand.
After that, the lvm volumes show up so I type 'exit' and it boots up w/ no problems.
The /scripts/
CONFIG=
# in case the hook failed to install a configuration file, this is our last
# attempt... the "emergency procedure"... <drumroll>
if [ ! -e $CONFIG ]; then
log_warning_msg "missing mdadm.conf file, trying to create one..."
mkdir -p ${CONFIG%/*}
echo DEVICE partitions > $CONFIG
$MDADM --examine --scan >> $CONFIG <<<<---
if [ -s $CONFIG ]; then
verbose && log_success_msg "mdadm.conf created."
else
verbose && log_failure_msg "could not create mdadm.conf, the boot will likely fail."
fi
MD_DEVS=all
fi
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.