I have a raid 6 on /dev/md0 using /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf.
I moved this raid to a different motherboard but kept the same non-raid card, and all drives including the OS which is on /dev/sdg.
I made sure to keep them all plugged in the same order on the non-raid card.
I plugged in a couple additional drives to copy some data to them.
One of those drives had windows installed on it and it managed to take boot precedence.
After it booted up I quickly rebooted fixed the boot order, only to find that my raid was gone.
After doing some digging the superblocks were gone from all drives except /dev/sdd which retains a little raid info.
After reading loads of posts about similar issues I ended up re-creating the raid with the command
mdadm --create /dev/md0 --level=6 --raid-devices=6 /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf`
Magically I was able to then mount the drive and see my files still intact. I added the appropriate information to mdadm.conf removed the old line, then ran
did a reboot and to my surprise the raid was gone again. Found that all the superblocks were gone again except for dev/sdd
it wouldn’t let me do a –zero-superblock due to it missing the superblock, but I was able to create the raid again, then performed a –zero-superblock on sda, sdb, sdc and re-created the raid again.
I did all the updating of mdadm.conf and update-initramfs -u, did a reboot and still the superblock keeps disappearing on all drives except sdd. I can’t seem to get my raid to stick and I can’t just wipe everything because I have at least 8 of the 16tb that I can’t afford to lose.
I’m hesitant to do –zero-superblock on sdd because that’s the only one that retains raid information, but maybe thats the one that really needs to be zeroed.
Please help! How can I get this raid to stick and not have to recreate it every time I reboot?
Thanks in advance.