<div dir="ltr"><div><div><div><div>The raid was a degraded raid 6 array of 5 disks with one missing disk, so only one parity disk, "[UUUU_]" in /proc/mdstat<br></div><br>There was a malfunction in the hard drive enclosure so that it momentarily lost contact with the 4 active disks, and then /proc/mdstat said "[_____]", meaning no disks at all.<br><br></div>I'm not sure if --re-add is supposed to work in this scenario, however --stop and --assemble worked fine.<br><br></div>Thank you for your help!<br><br></div> / C<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 8:07 AM, NeilBrown <span dir="ltr"><<a href="mailto:neilb@suse.de" target="_blank">neilb@suse.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 13 May 2015 11:22:47 +0200 Christoffer Hammarström<br>
<<a href="mailto:christoffer.hammarstrom@linuxgods.com">christoffer.hammarstrom@linuxgods.com</a>> wrote:<br>
<br>
> Yes, i'm sorry, i thoughtlessly ran<br>
><br>
> mdadm --stop /dev/md/storage<br>
><br>
> before reporting the bug.<br>
<br>
Well that explains some of it. I'd really like to know what the state of the<br>
array was when mdadm crashed - that code path should hardly ever be reached.<br>
<br>
Anyway, the fix is at:<br>
<br>
<a href="http://git.neil.brown.name/?p=mdadm.git;a=commitdiff;h=2609f339028a6035a3fadb1190b565438000e35c" target="_blank">http://git.neil.brown.name/?p=mdadm.git;a=commitdiff;h=2609f339028a6035a3fadb1190b565438000e35c</a><br>
<br>
in case the Debian maintainer wants to pick it up.<br>
<br>
Thanks for the report.<br>
<br>
NeilBrown<br>
<br>
><br>
> I managed to reassemble the raid later with --assemble.<br>
><br>
> / C<br>
<br>
</blockquote></div><br></div>