Re: Fixing a non-redundant raid

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Tue Feb 18 2003 - 18:56:11 EST


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/



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