[raid5] 3 disks, after tests 2 spares disks

[raid5] 3 disks, after tests 2 spares disks

am 14.09.2010 18:11:18 von Pol Hallen

Howdy all :-)

I've a pc-test raid5 using mdadm 2.6.7.2-3 (debian stable)

3 sata disks with raid5 (1 spare disk) = total 3 disks

Everything ok :-)

For purpose tests while raid5 had active I disconnected 2 disks.

Now I tried to assemble raid5 but I can't :-(

mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1

mdadm: /dev/md0 assembled from 1 drive and 2 spares - not enough to start
the array

because mdadm see 1 active device and 2 spare disks.
Why?

I need revert 1 spare device to active device but I don't understand how.

What I will to do?

For hours I looking for any solution but nothing..

Thanks

Pol

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

Re: [raid5] 3 disks, after tests 2 spares disks

am 15.09.2010 00:52:01 von NeilBrown

Hi,
please provide full "mdamd --examine" output of the devices at the various
stages of the test. That will allow a more definitive answer.

NeilBrown


On Tue, 14 Sep 2010 18:11:18 +0200 (CEST)
"Pol Hallen" wrote:

> Howdy all :-)
>
> I've a pc-test raid5 using mdadm 2.6.7.2-3 (debian stable)
>
> 3 sata disks with raid5 (1 spare disk) = total 3 disks
>
> Everything ok :-)
>
> For purpose tests while raid5 had active I disconnected 2 disks.
>
> Now I tried to assemble raid5 but I can't :-(
>
> mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1
>
> mdadm: /dev/md0 assembled from 1 drive and 2 spares - not enough to start
> the array
>
> because mdadm see 1 active device and 2 spare disks.
> Why?
>
> I need revert 1 spare device to active device but I don't understand how.
>
> What I will to do?
>
> For hours I looking for any solution but nothing..
>
> Thanks
>
> Pol
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

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

Re: [raid5] 3 disks, after tests 2 spares disks

am 15.09.2010 19:09:10 von Pol Hallen

> please provide full "mdamd --examine" output of the devices at the
> various

Hi and thanks for your reply

mdadm --detail
mdadm: metadata format 00.90 unknown, ignored.
mdadm: No devices given.

Pol

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

Re: [raid5] 3 disks, after tests 2 spares disks

am 15.09.2010 19:09:55 von Pol Hallen

> please provide full "mdamd --examine" output of the devices at the

mdadm --examine
mdadm: metadata format 00.90 unknown, ignored.
mdadm: No devices to examine

Pol

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