Thread (4 messages) 4 messages, 3 authors, 2020-01-13

Re: Reassembling Raid5 in degraded state

From: Song Liu <hidden>
Date: 2020-01-13 17:31:44

On Mon, Jan 13, 2020 at 7:04 AM Wols Lists [off-list ref] wrote:
On 13/01/20 09:41, Christian Deufel wrote:
quoted
My plan now would be to run mdadm --assemble --force /dev/md3 with 3
disk, to get the Raid going in a degraded state.
Yup, this would almost certainly work. I would recommend overlays and
running a fsck just to check it's all okay before actually doing it on
the actual disks. The event counts say to me that you'll probably lose
little to nothing.
quoted
Does anyone have any experience in doing so and can recommend which 3
disks I should use. I would use sdc1 sdd1 and sdf1, since sdd1 and sdf1
are displayed as active sync in every examine and sdc1 as it is also
displayed as active sync.
Those three disks would be perfect.
quoted
Do you think that by doing it this way I have a chance to get my Data
back or do you have any other suggestion as to get the Data back and the
Raid running again?
You shouldn't have any trouble, I hope. Take a look at

https://raid.wiki.kernel.org/index.php/Linux_Raid#When_Things_Go_Wrogn

and take note of the comment about using the latest mdadm - what version
is yours (mdadm --version)? That might assemble the array no problem at all.

Song, Neil,

Just a guess as to what went wrong, but the array event count does not
match the disk counts. Iirc this is one of the events that cause an
Which mismatch do you mean?
assemble to stop. Is it possible that a crash at the wrong moment could
interrupt an update and trigger this problem?
It looks like sdc1 failed first. Then sdd1 and sdf1 got events for sdc1 failed.
Based on super block on sdd1 and sdf1, we already have two failed drive,
so assemble stopped.

Does this answer the question?

Thanks,
Song
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help