Thread (4 messages) 4 messages, 2 authors, 2004-02-22

Re: strange nr. of devices in array

From: valo lindstroem <hidden>
Date: 2004-02-22 02:06:59

On Sat, 21 Feb 2004 10:19:01 +0100, Norman Schmidt
[off-list ref] wrote:
Hi Christian!

Christian Kivalo schrieb:
quoted
hi everybody!

i found out, that the superblock of my raid5 array says it's built
out of 7 disks, but i created it with only 6 disk. the mdadm call
used to create the array was:
quoted
i'm using mdadm version 0.7.2, i think that is pretty old. i will
upgrade to a more recent version and recreate the array.

still i would like to know if i encountered a bug or if thats some
other problem. this mdadm version is the one from debian woody
(stable).


thanks in advance
christian
Yes, that is a bug in the (very old) 0.7.2 of Debian. Additionally, 
these old versions cannot handle spare devices (after each assemble,
you hae to add them manually). Use at least mdadm 1.4.0, better the
newest (I believe 1.5.0). You do not need to recreate the array,
simply stop it and (re-)assemble it after you have the new mdadm in
place - and the bug and the wrong output is gone.

Had the same problem (that with the spare device) with SuSE 8.2 and 
Debian Woody...
hi norman!

downloaded and compiled mdadm 1.5.0, reassembled the array with

mdadm -A /dev/md6 --update=summaries

and everything looks like expected now.

thanks
christian
Bye, Norman.

-- 

Norman Schmidt          Institut fuer Physikal. u. Theoret. Chemie
Dipl.-Chem.             Friedrich-Alexander-Universitaet
schmidt@naa.net         Erlangen-Nuernberg
                         IT-Systembetreuer Physikalische Chemie
-
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help