Re: mdadm faulty disk

From: Anton Bakken <atbakken_at_no.spam.please>
Date: Fri Jun 08 2007 - 13:16:16 CST

On 6/8/07, Steven Kurylo <sk@infinitepigeons.org> wrote:
>
>
> If I use examine, it thinkgs there are 2 spares
>
> # mdadm -E --scan --config=partitions
> ARRAY /dev/md0 level=raid10 num-devices=4 spares=2
> UUID=9c1abea6:658a7091:f5a58eca:665f7c96
>
> While detail shows the correct single spare
>
> # mdadm -D --scan --config=partitions
> ARRAY /dev/md0 level=raid10 num-devices=4 spares=1
> UUID=9c1abea6:658a7091:f5a58eca:665f7c96
>
> If I add a -vv to either command I only see a single spare.

Your guess is as good as mine, I know -E actually reads the super block and
in my case I only have 2 drives connected no spare, and this is what it
shows:

#mdadm -E --scan --config=partitions
ARRAY /dev/md0 level=raid1 num-devices=2 spares=2
UUID=97a371f0:3a9e49ff:59081829:1a9a5c1f

#mdadm -D --scan --config=partitions
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=97a371f0:3a9e49ff:59081829:1a9a5c1f

I do however switch two other hotswap drives into this array once in a while
for backups, so I just assumed the superblock remembered those other two
drives, but I don't know for sure.

Is there a specific mdadm mailing list? I don't see one...
>
>
The only thing I have found to be close to a forum was this news group
http://www.issociate.de/board/thread/4/gmane.linux.raid

I hope this helps.

Bakken
Received on Fri Jun 8 13:16:24 2007

This archive was generated by hypermail 2.1.8 : Fri Jun 08 2007 - 13:16:26 CST