Crash during recover

Started by Matthias Appel on Jul 29, 2014 · 3 messages from 2 authors · Last reply Jul 29, 2014

open the first message on its own page

Message details and related content
Hi all,

I have a problem with my 4 disk software raid 5.
I had a defective disk which I identified and changed and the rebuild
started.

But somewhere around 6pm the machine crashed and I had to reset it this
morning.
The problem is the raid won't start because it complains about missing
drives.

I did mdadm -examine and saw the event counter on one disk was slightly off
and obviously two disks fell off the raid the same time, giving me ..AA like
you see down below.

I tried to force assemble the array and I got the message about the event
counter being adjusted.
I assumed the raid would start now, like multiple times before I had same
issues with multiple failing drives/controllers

But this time not....I says that the raid is missing 2 disks but examine
looks not this bad AFAIKS.
I read the recovery wiki entry, but there it tells me to recreate the array
without initial sync but I don't want to go this way because I think this
should only be the last resort.

Can anybody look at the mdadm --examine of my disks and tell me why my raid
is complaining about missing disks and how to recover from this issue:

If you need some more information, pleas tell me, what you need and I will
try to get it!

Thanks in advance,

Matthias




Here is the --examine of the disks after the force-assemble

112 more lines

Message details and related content
On Tue, 29 Jul 2014 12:30:53 +0200 "Matthias Appel"
[off-list ref] wrote:
Hi all,

I have a problem with my 4 disk software raid 5.
I had a defective disk which I identified and changed and the rebuild
started.

But somewhere around 6pm the machine crashed and I had to reset it this
morning.
The problem is the raid won't start because it complains about missing
drives.

I did mdadm -examine and saw the event counter on one disk was slightly off
and obviously two disks fell off the raid the same time, giving me ..AA like
you see down below.

I tried to force assemble the array and I got the message about the event
counter being adjusted.
I assumed the raid would start now, like multiple times before I had same
issues with multiple failing drives/controllers

But this time not....I says that the raid is missing 2 disks but examine
looks not this bad AFAIKS.
I read the recovery wiki entry, but there it tells me to recreate the array
without initial sync but I don't want to go this way because I think this
should only be the last resort.

Can anybody look at the mdadm --examine of my disks and tell me why my raid
is complaining about missing disks and how to recover from this issue:

If you need some more information, pleas tell me, what you need and I will
try to get it!

Thanks in advance,

Matthias
Looks like it should start.  What version of mdadm and kernel do you have?
What does:

   mdadm -V
   uname -a
   mdadm -A /dev/md0 --force -vvv /dev/sd[abe]

report?

NeilBrown
Message details and related content
-----Ursprüngliche Nachricht-----
Von: NeilBrown [mailto:neilb@suse.de]
Gesendet: Dienstag, 29. Juli 2014 12:48
An: Matthias Appel
Cc: <redacted>
Betreff: Re: Crash during recover

On Tue, 29 Jul 2014 12:30:53 +0200 "Matthias Appel"
[off-list ref] wrote:
quoted
Hi all,

I have a problem with my 4 disk software raid 5.
I had a defective disk which I identified and changed and the rebuild
started.
[SNIP]
Looks like it should start.  What version of mdadm and kernel do you have?
What does:

   mdadm -V
   uname -a
   mdadm -A /dev/md0 --force -vvv /dev/sd[abe]
Thanks for the hint!
Apparantly I run into some kind of bug (box war running some 13ish Ubuntu
AFAIR)!
I booted a up-to-date rescue cd and installed mdadm v3.2.5 and the RAID
started without any hassle!

So, thanks Neil and sorry for the noise on the list..could have tried the
recue cd prior mailing 
 
BR,

Matthias




--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help