I have a sw raid10 setup like: /dev/sdX > partition /dev/sdX1 > raid md0 > lvm > fs. I'm an idiot, and wrote 4gb of 0s to /dev/md0 with dd
dd if=/dev/zero of=/dev/md0 bs=4k count=1000000 conv=fdatasync
Anything I can do to recover data?
I tried restoring backup superblocks as per this link, but when I pick a backup block I get
e2fsck 1.42.5 (29-Jul-2012)
e2fsck: Invalid argument while trying to open /dev/md0
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
I do have most of the data backed up, and anything that isn't is not important. I just don't want to have to copy over a few hundred gb of data when I think there's a way to restore the partition table.