Hi List,<br><br>A few weeks ago I created a Raid 5 set for my data partition&nbsp; using mdadm.<br><br>This works fine, but last week a short power outage caused the server to reboot.<br><br>When I came home the server was in need of maintainance because it couldn't check all his filesystems.
<br><br>Strange fact was that the md device wasn't start...<br>mdadm --assemble /dev/md1 works fine, the /etc/mdadm.conf is read the the raid device is started...<br><br>But why doesn't start it at boot?<br><br>A piece of output from dmesg:
<br><br><pre>md: Autodetecting RAID arrays.<br>md: autorun ...<br>md: considering hdb1 ...<br>md:  adding hdb1 ...<br>md: created md1<br>md: bind&lt;hdb1&gt;<br>md: running: &lt;hdb1&gt;<br>raid5: device hdb1 operational as raid disk 0
<br>raid5: not enough operational devices for md1 (2/3 failed)<br>RAID5 conf printout:<br> --- rd:3 wd:1 fd:2<br> disk 0, o:1, dev:hdb1<br>raid5: failed to run raid set md1<br>md: pers-&gt;run() failed ...<br>md: do_md_run() returned -5
<br>md: md1 stopped.<br>md: unbind&lt;hdb1&gt;<br>md: export_rdev(hdb1)<br>md: ... autorun DONE.</pre>It tell's me that 2/3 devices failed, but after I assemble it.. the ouput of mdadm --detail /dev/md1 is:<br><br><font size="1">
/dev/md1:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version : 00.90.03<br>&nbsp; Creation Time : Fri Sep 22 22:28:43 2006<br>&nbsp;&nbsp;&nbsp;&nbsp; Raid Level : raid5<br>&nbsp;&nbsp;&nbsp;&nbsp; Array Size : 625137152 (596.18 GiB 640.14 GB)<br>&nbsp;&nbsp;&nbsp; Device Size : 312568576 (298.09 GiB 320.07 GB)<br>
&nbsp;&nbsp; Raid Devices : 3<br>&nbsp; Total Devices : 3<br>Preferred Minor : 1<br>&nbsp;&nbsp;&nbsp; Persistence : Superblock is persistent<br><br>&nbsp; Intent Bitmap : Internal<br><br>&nbsp;&nbsp;&nbsp; Update Time : Wed Nov 15 10:56:36 2006<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; State : active
<br>&nbsp;Active Devices : 3<br>Working Devices : 3<br>&nbsp;Failed Devices : 0<br>&nbsp; Spare Devices : 0<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Layout : left-symmetric<br>&nbsp;&nbsp;&nbsp;&nbsp; Chunk Size : 64K<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UUID : 82544aad:a2e92ea2:72ca2d55:716dada0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Events : 0.1486768<br><br>&nbsp;&nbsp;&nbsp; Number&nbsp;&nbsp; Major&nbsp;&nbsp; Minor&nbsp;&nbsp; RaidDevice State<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 65&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; active sync&nbsp;&nbsp; /dev/hdb1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; active sync&nbsp;&nbsp; /dev/hdc1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 65&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; active sync&nbsp;&nbsp; /dev/hdd1
<br></font><br>No failed devices!<br><br>How it this possible?<br>I rebooted aferwards, but still the same issue! :-(<br><br>Anybody any clue's?!<br>Any help is appriciated....<br><br>-- <br>Met vriendelijke groet / With kind regards,
<br><br>H. van Wees<br>---<br>If UNIX isn't the solution, you've got the wrong problem.