I have just moved two mdadm RAID1 arrays from an old server to a new one.
Initially mdadm automatically created two arrays (md126 & md127), read-only and marked resync=pending. I mounted these and they were fine.
I then stopped those arrays and rebuilt them manually as md0 & md1, and the resync started.
Neither will now mount; mdadm seems happy but there isn't a recognisable filesystem on either array. I have stopped both arrays while I try to work out what went wrong and whether I can fix it.
Suggestions?
All the important data is backed up elsewhere but there's a lot of unimportant stuff that I'd nevertheless prefer to retrieve if I can. (Several TB of applications, distros, etc which can all be retrieved from the Internet if needed, which is why I don't waste space backing them up, but I'd still rather not have to throw them away and start again if I can avoid it.)
One thought, although I'm fairly sure this isn't what happened, is that because I have two raid arrays I might have mixed my disks up when I created my new arrays (one of each in each). I would have thought that mdadm would have tried very hard to stop me doing that though?