Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750851AbWHAI2T (ORCPT ); Tue, 1 Aug 2006 04:28:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750805AbWHAI2T (ORCPT ); Tue, 1 Aug 2006 04:28:19 -0400 Received: from hobbit.corpit.ru ([81.13.94.6]:32353 "EHLO hobbit.corpit.ru") by vger.kernel.org with ESMTP id S1750792AbWHAI2S (ORCPT ); Tue, 1 Aug 2006 04:28:18 -0400 Message-ID: <44CF109C.7060008@tls.msk.ru> Date: Tue, 01 Aug 2006 12:28:12 +0400 From: Michael Tokarev User-Agent: Mail/News 1.5 (X11/20060318) MIME-Version: 1.0 To: Alexandre Oliva CC: David Greaves , Neil Brown , Andrew Morton , linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org Subject: Re: let md auto-detect 128+ raid members, fix potential race condition References: <20060730124139.45861b47.akpm@osdl.org> <17613.16090.470524.736889@cse.unsw.edu.au> <44CE7A9B.8020508@dgreaves.com> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1141 Lines: 25 Alexandre Oliva wrote: [] > If mdadm can indeed scan all partitions to bring up all raid devices > in them, like nash's raidautorun does, great. I'll give that a try, Never, ever, try to do that (again). Mdadm (or vgscan, or whatever) should NOT assemble ALL arrays found, but only those which it has been told to assemble. This is it again: you bring another disk into a system (disk which comes from another machine), and mdadm finds FOREIGN arrays and brings them up as /dev/md0, where YOUR root filesystem should be. That's what 'homehost' option is for, for example. If initrd should be reconfigured after some changes (be it raid arrays, LVM volumes, hostname, whatever), -- I for one am fine with that. Hopefully no one will argue that if you forgot to install an MBR into your replacement drive, it was entirely your own fault that your system become unbootable, after all ;) /mjt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/