From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 19:48:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B93E106567E for ; Thu, 12 Jul 2012 19:48:00 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C29CF8FC18 for ; Thu, 12 Jul 2012 19:47:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6CJlx2m048812; Thu, 12 Jul 2012 13:47:59 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6CJlxLd048809; Thu, 12 Jul 2012 13:47:59 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 12 Jul 2012 13:47:59 -0600 (MDT) From: Warren Block To: Wojciech Puchar In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 12 Jul 2012 13:47:59 -0600 (MDT) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks 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: Thu, 12 Jul 2012 19:48:00 -0000 On Thu, 12 Jul 2012, Wojciech Puchar wrote: >> last partition includes the block of gmirror metadata, that's an error. > > no it doesn't You appear to be agreeing with me, but saying that your method does not produce that problem. > i do this 2 ways: > > method 1) i FIRST do gmirror on whole disk > > THEN partition it, so partition sizes sums up to gmirror size which is 1 > sector less disk size. > > then bsdlabel -B > > method 2) i make same disklabel on both disk, then bsdlabel -B, them gmirror > each partitions separately. > often i do not mirror all partitions, ew. i do not for squid proxy data if > used. > > > both method results in system bootable from both drives and proper > disklabels. Yes, these are the same methods that can be used with MBR partitions. The second works with GPT partitioning also.