From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 19:17:36 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 0AEDA457 for ; Tue, 30 Oct 2012 19:17:36 +0000 (UTC) (envelope-from freebsd@johnea.net) Received: from mail.johnea.net (johnea.net [70.167.123.7]) by mx1.freebsd.org (Postfix) with ESMTP id D92CF8FC0C for ; Tue, 30 Oct 2012 19:17:35 +0000 (UTC) Received: from [192.168.100.239] (vhost.johnea.net [192.168.100.239]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.johnea.net (Postfix) with ESMTPSA id 9199873F188B for ; Tue, 30 Oct 2012 12:17:29 -0700 (PDT) Message-ID: <509027C9.4080709@johnea.net> Date: Tue, 30 Oct 2012 12:17:04 -0700 From: freebsd@johnea.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 9.1 and gmirror with GPT? References: <5082EAEE.4040609@johnea.net> <50833F78.1060609@bnrlabs.com> <5085C743.8000508@johnea.net> <5086C7EB.9020104@johnea.net> <508C2043.8070205@johnea.net> <508C5BE6.4000405@johnea.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2012 19:17:36 -0000 On 2012-10-27 16:01, Warren Block wrote: > On Sat, 27 Oct 2012, freebsd@johnea.net wrote: > >> I ended up just ignoring the not aligned warning from the "gpart add -t freebsd" and went on to add the freebsd-swap and freebsd-ufs partitions with "-a 4k" option. >> >> Do you think I'm aligned? > ... >> => 63 3907029104 mirror/gm0 MBR (1.8T) >> 63 63 - free - (31k) >> 126 3907028979 1 freebsd (1.8T) >> 3907029105 62 - free - (31k) >> >> => 0 3907028979 mirror/gm0s1 BSD (1.8T) >> 0 2 - free - (1.0k) >> 2 16777216 1 freebsd-swap (8.0G) >> 16777218 3890251760 2 freebsd-ufs (1.8T) >> 3907028978 1 - free - (512B) > > The slice starts at block 126, and then the swap partition starts an additional two blocks into the slice, which is block 128, evenly divisible by 8 (4096 = 512 * 8). > > The freebsd-ufs partition starts at 126+16777218, which is also evenly divisible by 8. > > So yes, that looks aligned to me. Thanks again Warren! I think I finally have this 9.1 system up and running with MBR and gmirror aligned to 4K sector size. After getting the gm0 running, I did a dump/restore to transfer the live system from ada0 to gm0, before adding ada0 to the mirror. I ran into the journaled soft-updates issue, and again relied on one of your posts for the solution: http://forums.freebsd.org/showthread.php?t=31257 Thank You for your contributions to FreeBSD! johnea