RE: md array not starting?
>Are /dev/hdd1 and /dev/hdc1 both partitions of type (hex)fd?
>
>--Mike Bird
[Followup to previous mail]
I looked in /etc/init.d/mdadm-raid (enclosed below)
And saw that the script choses between mdadm and mdrun.
Funny thing is that if I execute "mdrun" it starts up my arrays.
Any clue to why mdadm fails, and mdrun works?
cookiemonster:~# cat /etc/init.d/mdadm-raid
#!/bin/sh
#
# Start any arrays which are described in /etc/mdadm/mdadm.conf and
which are
# not running already.
#
# Copyright (c) 2001-2004 Mario Jou/3en <joussen@debian.org>
# Distributable under the terms of the GNU GPL version 2.
MDADM=/sbin/mdadm
MDRUN=/sbin/mdrun
CONFIG=/etc/mdadm/mdadm.conf
DEBIANCONFIG=/etc/default/mdadm
test -x $MDADM || exit 0
AUTOSTART=true
test -f $DEBIANCONFIG && . $DEBIANCONFIG
case "$1" in
start)
if [ "x$AUTOSTART" = "xtrue" ] ; then
if [ ! -f /proc/mdstat ] && [ -x /sbin/modprobe ] ; then
/sbin/modprobe -k md > /dev/null 2>&1
fi
test -f /proc/mdstat || exit 0
echo -n "Starting raid devices: "
if [ -f $CONFIG ] && [ -x $MDADM ] ; then
$MDADM -A -s -a
elif [ -x $MDRUN ] ; then
$MDRUN
fi
echo "done."
fi
;;
stop|restart|reload|force-reload)
;;
*)
echo "Usage: $0 {start|stop|restart|reload|force-reload}"
exit 1
;;
esac
exit 0
cookiemonster:~#
Reply to: