From owner-freebsd-questions@FreeBSD.ORG Wed Sep 5 09:16:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B23D116A418 for ; Wed, 5 Sep 2007 09:16:25 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 690AE13C468 for ; Wed, 5 Sep 2007 09:16:25 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id DD36714263A; Wed, 5 Sep 2007 12:16:23 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.3 Received: from iris (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id BD53414260A; Wed, 5 Sep 2007 12:16:20 +0300 (EEST) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Wed, 5 Sep 2007 12:14:44 +0300 User-Agent: KMail/1.9.1 References: <46DE1E05.8030706@sociology.osu.edu> In-Reply-To: <46DE1E05.8030706@sociology.osu.edu> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709051214.45291.nvass@teledomenet.gr> Cc: John Crawford Subject: Re: gmirror and booting one and/or the other of the twins, then rebuilding raid 1 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: Wed, 05 Sep 2007 09:16:25 -0000 On Wednesday 05 September 2007 06:09, John Crawford wrote: > I'd like to be able to boot either of the > two drives. That's up to your BIOS. FreeBSD will mount / from the gmirror, which will be backed by one or more disks. Earlier stages will use BIOS to load the kernel, etc. May I suggest {{{ When I configured gmirror on a server, I felt safer pulling the plug than disabling it the normal way. That way I could evaluate that: 1) my BIOS settings are correct regarding booting from both disks. 2) gmirror is doing what I wanted it to do. }}} > I suppose I could use kernel.conf and "di ad0" or "di ad2" > to suppress drive hardware detection, but I'm hoping to > do something simple (with a few keystrokes) during > one of the boot stages to suppress one or another of the > drive detections. I don't recall how to disable a given > device during the an interactive boot procedure. You can detach an ATA channel using "atacontrol detach". Since your disks are on different channels, that's probably what you asked for. Not all controllers/controller drivers support this. Nikos