From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 21:20:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C1CE1065714 for ; Wed, 14 Dec 2011 21:20:13 +0000 (UTC) (envelope-from lists@midsummerdream.org) Received: from p3plsmtpa06-02.prod.phx3.secureserver.net (p3plsmtpa06-02.prod.phx3.secureserver.net [173.201.192.103]) by mx1.freebsd.org (Postfix) with SMTP id B4BEF8FC13 for ; Wed, 14 Dec 2011 21:20:10 +0000 (UTC) Received: (qmail 2217 invoked from network); 14 Dec 2011 21:20:10 -0000 Received: from unknown (70.131.50.227) by p3plsmtpa06-02.prod.phx3.secureserver.net (173.201.192.103) with ESMTP; 14 Dec 2011 21:20:10 -0000 Message-ID: <4EE91308.8050300@midsummerdream.org> Date: Wed, 14 Dec 2011 15:20:08 -0600 From: Rob User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4ED98E9F.9010401@midsummerdream.org> <4EDA489B.9060503@midsummerdream.org> <4EDA56A3.6090108@cyberleo.net> <4edb4b48.LvOhZvvsP1inJeps%perryh@pluto.rain.com> In-Reply-To: <4edb4b48.LvOhZvvsP1inJeps%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cyberleo@cyberleo.net, ryallsd@gmail.com, freebsd-questions@freebsd.org Subject: Re: AHCI driver and static device names X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@midsummerdream.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 21:20:13 -0000 Can glabels, gpt, and zfs all work together? I have a system where I have disks with 4 gpt partitions. Partitions 2 and 3 are part of gmirror arrays, and partition 4 is part of a zfs pool. glabel says it writes to the end of the partition, which I believe zfs also writes to doesn't it? Rob On 12/4/11 4:28 AM, perryh@pluto.rain.com wrote: > CyberLeo Kitsana wrote: > >> You cannot combine GPT with glabel (or any other geom class >> that writes data to the first or last 34 sectors of a disk, >> like gmirror) due to layout conflicts. > > This is overstated. Since a GPT ordinarily is intended to be booted > from, and so must be recognized by the BIOS, it must be written > directly on the actual drive -- the "rank 1 provider" in GEOM terms > -- because that is the only way for the GPT metadata to be located > where the BIOS expects to find it (at both the beginning and the end > of the drive). > > It is, however, possible to combine GPT with gmirror, gjournal, > etc. by using GPT partitions, rather than drives, as providers > for the other geoms. For example, create a mirror from ad0p1 > and ad2p1 rather than from ad0 and ad2. Similarly, it "should" > be possible to glabel a GPT partition -- although this seems > unlikely to be useful in practice since GPT provides its own > labelling scheme. > >