From owner-freebsd-stable@FreeBSD.ORG Thu Jul 22 03:15:55 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 959D61065673 for ; Thu, 22 Jul 2010 03:15:54 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id A74E98FC19 for ; Thu, 22 Jul 2010 03:15:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 698EF50B97 for ; Thu, 22 Jul 2010 04:15:50 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rcZxQF4q95kq for ; Thu, 22 Jul 2010 04:15:48 +0100 (BST) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id 9534150B7B for ; Thu, 22 Jul 2010 04:15:48 +0100 (BST) Message-ID: <4C47B7DD.3070604@langille.org> Date: Wed, 21 Jul 2010 23:15:41 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4C47B57F.5020309@langille.org> In-Reply-To: <4C47B57F.5020309@langille.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 22 Jul 2010 03:15:55 -0000 On 7/21/2010 11:05 PM, Dan Langille wrote (something close to this): > First, create a new GUID Partition Table partition scheme on the HDD: > > gpart create -s GPT ad0 > > > Let's see how much space we have. This output will be used to determine > SOMEVALUE in the next command. > > gpart show > > > Create a new partition within that scheme: > > gpart add -b 34 -s SOMEVALUE -t freebsd-zfs ad0 > > > Now, label the thing: > > glabel label -v disk00 /dev/ad0 Or, is this more appropriate? glabel label -v disk00 /dev/ad0s1 -- Dan Langille - http://langille.org/