From owner-freebsd-questions@FreeBSD.ORG Fri Jun 17 21:37:56 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F1BC16A41C for ; Fri, 17 Jun 2005 21:37:56 +0000 (GMT) (envelope-from ut@bhi-hamburg.de) Received: from mail.terralink.de (mail.tlink.de [217.9.16.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B386443D48 for ; Fri, 17 Jun 2005 21:37:55 +0000 (GMT) (envelope-from ut@bhi-hamburg.de) Received: from schweinkram.pleach-hamburg.de (p548EC74C.dip.t-dialin.net [84.142.199.76]) by mail.terralink.de (Postfix) with ESMTP id F0E3EB8A0; Fri, 17 Jun 2005 23:37:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by schweinkram.pleach-hamburg.de (Postfix) with ESMTP id 8BB906A8FA0; Fri, 17 Jun 2005 23:38:05 +0200 (CEST) Received: from by localhost (amavisd-new, port ) id Xq0Olcod; Fri, 17 Jun 2005 23:38:04 +0200 (CEST) Received: by schweinkram.pleach-hamburg.de (Postfix, from userid 65534) id 02FC16A8F9F; Fri, 17 Jun 2005 23:38:04 +0200 (CEST) Received: from [192.168.1.31] (remote1.pleach-hamburg.de [192.168.1.31]) by schweinkram.pleach-hamburg.de (Postfix) with ESMTP id 88DE86A8F86; Fri, 17 Jun 2005 23:38:01 +0200 (CEST) Message-ID: <42B34293.6050300@bhi-hamburg.de> Date: Fri, 17 Jun 2005 23:37:23 +0200 From: Titus von Boxberg User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Steve Bertrand References: <20050617202019.271F743D1D@mx1.FreeBSD.org> In-Reply-To: <20050617202019.271F743D1D@mx1.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Flag: YES X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on schweinkram.pleach-hamburg.de X-Spam-Report: * 5.4 BAYES_99 BODY: Bayesian spam probability is 99 to 100% * [score: 1.0000] X-Spam-Status: Yes, hits=5.4 required=5.0 tests=BAYES_99 autolearn=no version=2.60 X-Spam-Level: ***** X-Virus-Scanned: by amavisd-new at pleach-hamburg.de Cc: freebsd-questions@freebsd.org Subject: Re: Booting with multiple RAID1 configs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 21:37:56 -0000 > Here is what I did, and the subsequent effect: > > (Remember, ad4 and ad6 (promise drives) make up the bootable ar0): > > # after 2 brand new drives installed: > > - atacontrol create RAID1 ad0 ad2 > ...at which point it said it was successful, and designated the new RAID > config as ad1. > > After reboot, the server comes up, identifies ad0, ad2, ad4 and ad6 as > expected. Then it tries to load up the ar driver. It clearly says ar0 > has 2 disks, ad0 and ad2, and ad1 now has ad4 and ad6, which is > backwards from how it should be. > > Then it baffs with a mountroot error, and no manner of trying to point > to any disk or array is successful. Mountroot errors 16 and 22 come up. > > I pull the new drives back off the motherboard IDE connections, box goes > back to exactly how it was before this mess started. You might use loader(8) to set the root device ("rootdev" variable) explicitly to ar1s1a. Then you should also update fstab to reflect the numbering change. I don't know of any way to change the ata numbering scheme. Mainboard controllers always seem to be probed (and numbered) first. I think there is no way to get your original raid back to ar0 if you also use your mainboard controllers. Cheers Titus