Re: assistance recovering failed raid6 array
From: Phil Turmel <hidden>
Date: 2017-02-20 21:30:45
From: Phil Turmel <hidden>
Date: 2017-02-20 21:30:45
On 02/20/2017 02:31 PM, Martin Bosner wrote:
Is there a way tell mdadm to use sdk1 as a “active” device? And how can i tell the array that it should not try to recover sdm1 but set it active ? Is there any magic to force the state ? It might not be healthy for the normal use case but might be helpful for me.
No. There's no way to do that. Short of reading the kernel code to do hex editing on the superblock. And since the spare status is there due to an --add action, you can't trust that anything else there would be safe for --create --assume-clean. You would scramble these eggs even further. Phil