On 5/6/23 6:28 PM, Wol wrote:
On 06/05/2023 23:29, Hannes Reinecke wrote:
Device Role : Active device 2
Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
root@meat:/#
mdadm manage /dev/md127 --add /dev/sdd ?
OMG NO!
That really will trash your array ...
Cheers,
Wol
This is why I sent the original message; I really
want to avoid losing my data because of a dumb
misunderstanding. I did look at the Linux_Raid
page on raid.wiki.kernel.org but was not confident
I knew the right thing to do. I'm very familiar
(as a developer) with storage software, just not
MD and the tools to manage its volumes.
I suspect that putting a proper MD superblock on the
middle partition (sdc1, out of sd{b,c,d}1) might be
enough to get it to assemble again. After that I
think I'll be able to rebuild the newly replaced
drive and also rename it to /dev/md/z.
Is it an easy command? Is any more information required?
Thanks.
-Alex