Linux Mastering Development Ubuntu

MD-Raid Superblock gets deleted

I’m having a linux machine with a regular RAID-1 on 2 HDD’s.
Everything seems fine, but about one time per day it seems to wipe the superblock.
If i run mdadm --create --assume-clean --level=1 --raid-devices=2 /dev/md0 /dev/sda /dev/sdb everything seems fine though. mdadm --assemble says that it can’t find a valid superblock (on both drives).
I don’t know if it matters but i made a Hexdump from before and after RAID recreation: (head /dev/sda | hexdump -C)

enter image description here
It’s not only at reboot, it also happens while the PC is running.
Do you have any ideas what it could be?

dumpe2fs shows the following for both sda and sdb:

dumpe2fs 1.45.5 (07-Jan-2020)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sda
Couldn't find valid filesystem superblock.

Maybe the error is because i made the RAID on the whole disk and not just on the partition?

Leave a Reply

Your email address will not be published. Required fields are marked *