As per the subject, I think I just hosed myself. I'm well aware of what I did wrong. I'm just hoping there is a way to recover.
I had a raid 5 that was slightly out of sync and wouldn't come back online when I reassembled it. I tried the --force option with assemble but forgot to put my /dev/md2 device as the first device so I hosed my superblock on the first device. This is what I did
Code:
mdadm --assemble --force /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1
I then had a brain fart and based on the output I ran the same command without /dev/sdc1 like this
Code:
mdadm --assemble --force /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1 missing /dev/sdc1
So I just hosed the superblocks for 2 of my devices. Is there anyway to recover from this? I'm confident the data is there but slightly out of sync and with two superblocks hosed.
To give you an idea of how out of sync things were before I hosed it, here's the abbreviated output of mdadm -E. I have the full output as well if that helps.
Code:
[root@heisenberg]# mdadm -E /dev/sdc1 |grep Events
Events : 11685
[root@heisenberg]# mdadm -E /dev/sdd1 |grep Events
Events : 11671
[root@heisenberg]# mdadm -E /dev/sde1 |grep Events
Events : 11682
[root@heisenberg]# mdadm -E /dev/sdf1 |grep Events
Events : 11683
[root@heisenberg]# mdadm -E /dev/sdg1 |grep Events
Events : 11683
I'm guessing I need to go to backups but I'd love to try anything folks have to suggest.