Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 23:15:41 -0400
From:      Dan Langille <dan@langille.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Using GTP and glabel for ZFS arrays
Message-ID:  <4C47B7DD.3070604@langille.org>
In-Reply-To: <4C47B57F.5020309@langille.org>
References:  <4C47B57F.5020309@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C47B7DD.3070604>