From owner-freebsd-stable@FreeBSD.ORG Fri Jul 23 02:12:18 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEB13106566C for ; Fri, 23 Jul 2010 02:12:18 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 362A98FC1D for ; Fri, 23 Jul 2010 02:12:17 +0000 (UTC) Received: from [203.31.81.38] ([203.31.81.38]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id o6N2CAE7012531 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 23 Jul 2010 11:42:15 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: Date: Fri, 23 Jul 2010 11:42:10 +0930 Content-Transfer-Encoding: quoted-printable Message-Id: <297025B9-5F9C-4DFD-9C1D-31CA4E059119@gsoft.com.au> References: <4C47B57F.5020309@langille.org> To: Volodymyr Kostyrko X-Mailer: Apple Mail (2.1081) X-Spam-Score: -2.5 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-stable@freebsd.org Subject: Re: Using GTP and glabel for ZFS arrays X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2010 02:12:18 -0000 On 23/07/2010, at 24:56, Volodymyr Kostyrko wrote: > 22.07.2010 06:05, Dan Langille wrote: >> Create a new partition within that scheme: >>=20 >> gpart add -b 34 -s SOMEVALUE -t freebsd-zfs ad0 >>=20 >> Why '-b 34'? Randi pointed me to >> http://en.wikipedia.org/wiki/GUID_Partition_Table where it explains = what >> the first 33 LBA are used for. It's not for us to use here. >=20 > gpart is not so dumb to not protect this space. If you don't specify = -b when creating first partition it automagically defaults to 34. Maybe it should default to 40 to get 4k alignment..? (Probably a POLA/legacy issue there) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C