From owner-freebsd-geom@FreeBSD.ORG Wed Aug 16 11:37:47 2006 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BFCD16A4DF for ; Wed, 16 Aug 2006 11:37:47 +0000 (UTC) (envelope-from danny@dannysplace.net) Received: from mail.dannysplace.net (mail.dannysplace.net [213.133.54.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31B0B43D78 for ; Wed, 16 Aug 2006 11:37:47 +0000 (GMT) (envelope-from danny@dannysplace.net) Received: from localhost ([127.0.0.1]) by mail.dannysplace.net with esmtpa (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GDJhz-000D0Z-KN for freebsd-geom@FreeBSD.org; Wed, 16 Aug 2006 13:37:17 +0200 Message-ID: <44E30387.5000203@dannysplace.net> Date: Wed, 16 Aug 2006 13:37:43 +0200 From: Danny Carroll User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: freebsd-geom@FreeBSD.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=FF80FAEB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: danny@dannysplace.net X-SA-Exim-Scanned: No (on mail.dannysplace.net); SAEximRunCond expanded to false Cc: Subject: Mirror MBR? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 11:37:47 -0000 Hello all. I had a question about gmirror. I am using Ralf S Engelschall's mirroring solution at http://people.freebsd.org/~rse/mirror/ I used solution one, since I am sure that I will never be using any different disks. It's a pizzabox server, and I don't expect data growth so the current disks are fine. My main question is about the MBR. I dont see anywhere in the doc where I should put a new boot record on the disk after doing: dd if=/dev/zero of=/dev/ad0 bs=512 count=79 Does this mean that the MBR from the mirror gets put onto this first disk? I ask because, I need to know what should happen when I need to replace a disk. I know that after replacing the disk I should probably have to do something like this: (Assume ad0 is the new disk) gmirror configure -a gm0 gmirror insert gm0 /dev/ad1 But does that guarantee me that if ad0 fails, then I still have a bootable system (assuming bios knows to boot of ad1). Thanks for your time.