On 17/10/2022 23:46, Steve Kolk wrote:
I set up 3 of the drives with overlays and tried forcing the assembly,
but I still get the same error. I haven't tried the steps under
"Irreversible mdadm failure recovery", is there where I need to go
next?
ubuntu@ubuntu:~$ echo $OVERLAYS
/dev/mapper/sda1 /dev/mapper/sdb1 /dev/mapper/sdc1
ubuntu@ubuntu:~$ sudo mdadm --assemble --force /dev/md1 $OVERLAYS
mdadm: no recogniseable superblock on /dev/mapper/sda1
mdadm: /dev/mapper/sda1 has no superblock - assembly aborted
Sounds like you haven't understood what you're supposed to do.
The whole point of overlays is it is meant to protect the underlying
device while you do stuff that could be destructive.
What you should be doing is setting up the overlays, then running "mdadm
--create". It sounds like if you run exactly the same command as when
you created the array, you'll get the original back.
Read up carefully on overlays to make sure you really understand what
you're doing. And then when you create the array with the overlays, if
you're doing as I suggested with three drives, make sure you tell it
it's a five drive array, and tell it two of the drives are missing.
I'm just going to work, but whatever you do, DO NOT DO ANYTHING THAT
WILL ACTUALLY WRITE TO THE DRIVES.
Cheers,
Wol