RE: Fixing a non-redundant raid

From: Rob Emanuele (rje@cyan.com)
Date: Thu Feb 20 2003 - 13:59:03 EST


Thanks! It all worked and the data is consistant.

You guys rock!

--Rob

-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Neil Brown
Sent: Tuesday, February 18, 2003 3:56 PM
To: Rob Emanuele
Cc: linux-kernel@vger.kernel.org
Subject: Re: Fixing a non-redundant raid

On Tuesday February 18, rje@cyan.com wrote:
> I've got a raid that I was running w/o a spare disk. One of the
> drives was being flakey and I restarted the machine and I was
> wondering if I can recover the data on the raid. It did not have a
> spare disk. There are 12 drives in the stripe set. According the the

> logs one drive isn't listed as a raid drive (sdi1) and the other's
> (sdb1) event counter is behind. Is there anything I can do or is it a

> loss and I should rebuild the array with a hot spare :)?
>
> I attached the logs.
>
> Thanks for any help,
>
> Rob

Get mdadm, assemble with --force.
e.g.

 mdadm --assemble --force /dev/md0 /dev/sd[abcdefghijkl]1

NeilBrown

http://www.kernel.org/pub/linux/utils/raid/mdadm/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in the body of a message to majordomo@vger.kernel.org More majordomo
info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:30 EST