Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 1A6489FC712 for ; Fri, 1 Jun 2007 18:35:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 39003-05 for ; Fri, 1 Jun 2007 18:35:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by postgresql.org (Postfix) with ESMTP id 9F2369FC7C3 for ; Fri, 1 Jun 2007 18:35:05 -0300 (ADT) Received: from trofast.sesse.net ([129.241.93.32]) by cassarossa.samfundet.no with esmtp (Exim 4.50) id 1HuEly-0005pG-2C; Fri, 01 Jun 2007 23:35:02 +0200 Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1HuElx-0006FI-00; Fri, 01 Jun 2007 23:35:01 +0200 Date: Fri, 1 Jun 2007 23:35:01 +0200 From: "Steinar H. Gunderson" To: Craig James Cc: pgsql-performance@postgresql.org Subject: Re: Autodetect of software RAID1+0 fails Message-ID: <20070601213501.GA23940@uio.no> Mail-Followup-To: Craig James , pgsql-performance@postgresql.org References: <46605E24.7070508@emolecules.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <46605E24.7070508@emolecules.com> X-Operating-System: Linux 2.6.20.4 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/7 X-Sequence-Number: 25040 On Fri, Jun 01, 2007 at 10:57:56AM -0700, Craig James wrote: > The Linux kernel doesn't properly detect my software RAID1+0 when I boot > up. It detects the two RAID1 arrays, the partitions of which are marked > properly. But it can't find the RAID0 on top of that, because there's no > corresponding device to auto-detect. The result is that it creates > /dev/md0 and /dev/md1 and assembles the RAID1 devices on bootup, but > /dev/md2 isn't created, so the RAID0 can't be assembled at boot time. Either do your md discovery in userspace via mdadm (your distribution can probably help you with this), or simply use the raid10 module instead of building raid1+0 yourself. /* Steinar */ -- Homepage: http://www.sesse.net/