From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Tor_Arne_Vestb=F8?= Subject: Re: Creating RAID5 with four devices and end up with 5 (one removed and one spare). Why? Date: Tue, 4 Mar 2008 10:47:12 +0100 Message-ID: <47CD1AA0.100@gmail.com> References: <47CBBD11.4020501@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: References: <47CBC516.5050904@gmail.com> References: Content-Disposition: inline Sender: linux-raid-owner@vger.kernel.org To: linux-raid@vger.kernel.org List-Id: linux-raid.ids Mario 'BitKoenig' Holbe wrote: > Tor Arne Vestb=F8 wrote: >> But does that explain why mdadm believes I have another disk, a fift= h=20 >> disk, that has been removed? The ID numbers of the real disks are=20 >> 0,1,2,4 but I would expect 0,1,2,3: >=20 > Once the rebuild has finished, you will have exactly the latter. > md stores raid-disks in different slots than not-yet-raid-disks. Of course, you were right :) I waited for the array to sync, and what d= o=20 you know! My 0,1,2,3,4 one failure, one spare array turned into a=20 0,1,2,3 clean everything fine array :P Thanks! Tor Arne -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html