Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 11:42:10 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Using GTP and glabel for ZFS arrays
Message-ID:  <297025B9-5F9C-4DFD-9C1D-31CA4E059119@gsoft.com.au>
In-Reply-To: <i29nuv$jdt$1@dough.gmane.org>
References:  <4C47B57F.5020309@langille.org> <i29nuv$jdt$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?297025B9-5F9C-4DFD-9C1D-31CA4E059119>