Re: Problem recovering a failed RIAD5 array with 4-drives.

From: James
Date: Thu Jul 12 2007 - 19:11:15 EST


On Thu July 12 2007 5:48 pm, you wrote:
> On Thursday July 12, LinuxKernel@xxxxxxxxxxxxxx wrote:
> >
> > []#
> >
mdadm --create --verbose /dev/md0 --assume-clean --level=raid5 --raid-devices=4 --spare-devices=0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
> >
> snip
> >
> > Number Major Minor RaidDevice State
> > 0 8 17 0 active sync /dev/sdb1
> > 1 8 33 1 active sync /dev/sdc1
> > 2 8 1 2 active sync /dev/sda1
> > 3 8 49 3 active sync /dev/sdd1
>
> Something looks very wrong here. You listed the devices to --create
> in one order:
> a b c d
> but that appear in the array in a different order
> b c a d
>
> Did you cut/paste the command line into the mail, or did you retype
> it? If you retyped it, could you have got it wrong?
>
> You need the order that --detail shows to match the order of the
> original array....
>
> NeilBrown
>
>

I don't know the original order of the array before all the problems started.

Is there a way to determine the original order?

The order that --detail is showing now is the order that appeared after
issuing the command is it is in the email. (ie: a b c d)

Thank again.

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