linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* recovery of hosed raid5 array
@ 2003-10-11 15:52 Jason Lunz
  2003-10-11 18:59 ` linux-raid
  0 siblings, 1 reply; 12+ messages in thread
From: Jason Lunz @ 2003-10-11 15:52 UTC (permalink / raw)
  To: linux-raid

So I have a small raid5 array of 5 25G ide disks for a home server. It
was built entirely on 2.4.22 with mdadm in debian unstable a couple of
months ago.  One of the disks died last night and was removed from the
array, which went on in degraded mode.  The dead disk, /dev/hdg, stopped
responding and was deactivated by the promise ide driver.

After rebooting, the raid continued to work in degraded mode, and
/dev/hdg seemed to check out ok. After checking it with smartctl and
doing some successful reads from it, I added it back to the array with
"mdadm -a".

Once the rebuild started, I noticed an email from smartd, saying that
the _other_ drive on the Promise controller (/dev/hde) had had errors.
So I foolishly checked it out with smartctl, at which point everything
went to hell. /dev/hde now clicks repeatedly and refuses to work for
more than a minute or so, while /dev/hdg is partially destroyed from
being re-added. The rebuild was 3-4% complete when hde died.

So I realize I'm probably fucked, but I really want to get the 80G or so
of data back. Three of the drives are fine, /dev/hde is dead, but if I
can use even some of /dev/hdg, I should be able to at least recover part
of the data if I can get the ext3 fs to mount. How would I go about
this?

I know if I just wanted to use the four good disks, I could do
"mdadm -Af". But how do I go about getting at the pre-rebuild data on
/dev/hdg? Is there any way to restore its superblock data to the
pre-rebuild state?

I will be eternally indebted to anyone that can help.

thanks,

Jason


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

end of thread, other threads:[~2003-10-26 21:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-11 15:52 recovery of hosed raid5 array Jason Lunz
2003-10-11 18:59 ` linux-raid
2003-10-12  1:14   ` rob
2003-10-12 15:14   ` Jason Lunz
2003-10-12 17:39     ` dean gaudet
2003-10-12 18:04       ` Jason Lunz
2003-10-12 18:34         ` dean gaudet
2003-10-13 13:54       ` Dragan Simic
2003-10-13 17:00         ` dean gaudet
2003-10-26 19:40       ` Mike Fedyk
2003-10-26 19:48         ` Jason Lunz
2003-10-26 21:29         ` dean gaudet

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).