linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* recovering from raid5 corruption
@ 2012-04-29 22:38 Shaya Potter
  2012-04-29 22:52 ` NeilBrown
  0 siblings, 1 reply; 12+ messages in thread
From: Shaya Potter @ 2012-04-29 22:38 UTC (permalink / raw)
  To: linux-raid

somehow my raid5 got corrupted in the contexts of a main disk failure 
(which wasn't raid related).

compounding this issue was that I had already had one disk in the raid5 
go bad and was in the process of getting it replaced.

this raid array was 5 disks.

What I mean by corrupted is that the superblock of 3 of the remaining 4 
devices seemed to have been wiped out (i.e. had a UUID of all 0s, though 
still enough that it knew it was part of an md device)

now, the one whose superblock seems fine, places it at position disk 3 
(of 0-4) and the missing disk at disk 2.

this would imply that there are only 6 permutations possible for the 
other 3 disks.   (even if that assumptions is wrong, there are only 120 
permutations possible, which I should easily be able to iterate over).

further compounding this, is that there were 2 LVM logical disks on the 
physical raid device.

I've tried being cute and trying all 6 permutations to force recreate 
the array, but lvm isn't picking up anything. (pvscan/lvscan/lvmdiskscan)

The original raid had a version of 0.90.00 (created in 2008), while the 
new one has a version 1.20.

have I ruined any chances of recovery by shooting in the dark with my 
cute attempts, am I SOL or is there a better/proper way I can try to 
recover this data?

Luckily for me, I've been on a backup binge of late, but there still 
about 500-1TB of stuff that wasn't backed up.

thanks, any help would be appreciated.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-04-30 15:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-29 22:38 recovering from raid5 corruption Shaya Potter
2012-04-29 22:52 ` NeilBrown
2012-04-29 23:29   ` Shaya Potter
2012-04-29 23:41     ` Shaya Potter
2012-04-29 23:44     ` NeilBrown
2012-04-29 23:45     ` NeilBrown
2012-04-29 23:51       ` Shaya Potter
2012-04-30  0:46       ` Shaya Potter
2012-04-30  1:09         ` NeilBrown
2012-04-30  1:13           ` Shaya Potter
2012-04-30  6:29             ` Jan Ceuleers
2012-04-30 15:33               ` Shaya Potter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).