Using GTP and glabel for ZFS arrays

Daniel O'Connor doconnor at gsoft.com.au
Fri Jul 23 02:12:18 UTC 2010


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:
>> 
>> gpart add -b 34 -s SOMEVALUE -t freebsd-zfs ad0
>> 
>> 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.
> 
> 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








More information about the freebsd-stable mailing list