[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: md array not starting?



On Mon, 2006-02-27 at 22:53, Jan Johansson wrote:
> cookiemonster:~# /etc/init.d/mdadm-raid start
> Starting raid devices: mdadm: No arrays found in config file
> done.
> cookiemonster:~# cat /etc/mdadm/mdadm.conf
> DEVICE partitions
> cookiemonster:~#
> cookiemonster:~# mdadm --examine --scan
> ARRAY /dev/.static/dev/md0 level=raid5 num-devices=2
> UUID=be1a9899:cbbb6f22:2b320f91:f4efdba8
>    devices=/dev/hdd1,/dev/hdc1
> cookiemonster:~#

No RAIDs defined in /etc/mdadm/mdadm.conf.  However, mdrun
searches for all RAIDs (IIRC by partition type = 0xfd) and
starts them.

I wouldn't recommend doing this blindly but given what you've
posted I think this will fix your config for you:

mdadm --examine --scan >>/etc/mdadm/mdadm.conf

--Mike Bird



Reply to: