[CentOS] Lost raid when server reboots

carlopmart carlopmart at gmail.com
Wed Nov 11 11:43:44 UTC 2009


Hi all,

  I have setup a raid1 between two iscsi disks and mdadm command goes well. Problems 
starts when i rebooted the server (CentOS 5.4 fully updated): raid is lost, and i 
don't understand why.

  "mdadm --detail --scan" doesn't returns me any output. "mdadm --examine --scan" 
returns me:

ARRAY /dev/md0 level=raid1 num-devices=2 UUID=9295e5a2:b28d4fbd:b61fed29:f232ebfe

  and it's ok. My mdadm.conf is:

DEVICE partitions
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=0.90 
UUID=9295e5a2:b28d4fbd:b61fed29:f232ebfe devices=/dev/iopsda1,/dev/iopsdb1
MAILADDR root

  mdmonitor init script is activated.

  Why md0 is not activated when I reboot this server? How can I do this persistent 
between reboots??

Many thanks.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com


More information about the CentOS mailing list