From owner-freebsd-questions@FreeBSD.ORG Sat Oct 27 23:01:29 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 1867FAE5 for ; Sat, 27 Oct 2012 23:01:29 +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 C15878FC12 for ; Sat, 27 Oct 2012 23:01:28 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q9RN1RZ3070470; Sat, 27 Oct 2012 17:01:27 -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 q9RN1Rfg070467; Sat, 27 Oct 2012 17:01:27 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 27 Oct 2012 17:01:27 -0600 (MDT) From: Warren Block To: freebsd@johnea.net Subject: Re: 9.1 and gmirror with GPT? In-Reply-To: <508C5BE6.4000405@johnea.net> Message-ID: 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> 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]); Sat, 27 Oct 2012 17:01:27 -0600 (MDT) Cc: freebsd-questions@freebsd.org 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: Sat, 27 Oct 2012 23:01:29 -0000 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.