From owner-freebsd-fs@FreeBSD.ORG Thu Sep 23 14:25:55 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D35E310656C3 for ; Thu, 23 Sep 2010 14:25:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A1E648FC1B for ; Thu, 23 Sep 2010 14:25:55 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 3E5B146B9C; Thu, 23 Sep 2010 10:25:55 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id AF38D8A04E; Thu, 23 Sep 2010 10:25:50 -0400 (EDT) From: John Baldwin To: freebsd-fs@freebsd.org Date: Thu, 23 Sep 2010 09:51:06 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <4C99DB46.1020308@telus.net> <4C9AF748.1000801@telus.net> In-Reply-To: <4C9AF748.1000801@telus.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009230951.06592.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 23 Sep 2010 10:25:50 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00, SUBJECT_FUZZY_TION autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Carl Subject: Re: GPT partition type (GUID) for (g)journal provider partition X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 14:25:55 -0000 On Thursday, September 23, 2010 2:44:24 am Carl wrote: > On 2010-09-22 3:32 AM, Carl wrote: > > I am using GPT for disk layout and I wish to use a dedicated partition > > for a gjournal journal provider rather than combining the data and > > journal into the same provider/partition. The question is this: What > > partition type (GUID) do I use for the journal partition? > > > > The gpart(8) man page lists a number of symbolic names for different > > FreeBSD partition types, but none seem appropriate for the task. > > > > For those that wonder, my reason for separating data and journal is that > > I am hoping to make up a little bit of the tremendous performance hit > > that gjournal causes by locating a journal provider in the fastest > > region of the disk even though its corresponding data provider must > > necessarily be located in the slower region of the disk. Is there a flaw > > in that thinking? > > Anyone know the GUID I need to use? > > Since posting the question I've been trying in vain to find a document > listing all known GPT partition type GUIDs. Apple claims it's in the > UEFI specification, but it isn't. The largest list is in this Wikipedia > article: > > http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs > > which provides no references as to where most of the list contents come > from. > > How and by who did the FreeBSD GUIDs get defined? Are there more than > appear in that Wikipedia article? Is there no governing body/publication > for this sort of thing? The GUID's for FreeBSD were generated by FreeBSD developers. GUID creation is not explicitly coordinated with UEFI. Instead, GUID's are designed to have a very low probability of collisions. You can ask pjd@ if he thinks gjournal warrants a separate partition type and if so a new GUID can be generated and added to -- John Baldwin