[CentOS] Recover RAID

Thu Mar 4 03:33:33 UTC 2010
nate <centos at linuxpowered.net>

Jeff Sadino wrote:
> Ok, I'm learning a lot about raids and what to do, and what not to do.
> Looking at some info I had before, md1 was 200GB in size, which makes sense,
> but it was only 39GB full.  The way I repartitioned drive 1, I probably
> overwrote only about 11GB.  Does that make it any easier to recover any
> amount of the raid?  Is there some sort of "recover lost partitions" option
> in Linux or gparted?

The partition is just a map, if you can re-create the partition
exactly the way it was before, the data should still be there if
it wasn't overwritten.

But as far as I know there isn't a backup stored of the partition
table, if the disk is exactly the same as the other member, then you
can try duplicating the partition setup using the first disk as
a guide.

I don't know whether or not it will help restore a RAID 0 set,
but may be worth a shot since the situation probably can't get
much worse.

nate