From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 22:46:59 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1FDE8BA; Thu, 12 Jun 2014 22:46:59 +0000 (UTC) Received: from h3lix.wtfayla.net (helix.wtfayla.net [24.105.170.68]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B69A821C0; Thu, 12 Jun 2014 22:46:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by h3lix.wtfayla.net (Postfix) with ESMTP id 3EB31847DF; Thu, 12 Jun 2014 18:45:52 -0400 (EDT) Received: from h3lix.wtfayla.net ([127.0.0.1]) by localhost (h3lix.wtfayla.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 57691-03; Thu, 12 Jun 2014 18:45:51 -0400 (EDT) Received: from helix.wtfayla.net (helix.wtfayla.net [24.105.170.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by h3lix.wtfayla.net (Postfix) with ESMTPS id C5AC6847D7; Thu, 12 Jun 2014 18:45:51 -0400 (EDT) Date: Thu, 12 Jun 2014 18:45:51 -0400 (EDT) From: freebsd@fongaboo.com X-X-Sender: fongaboo@helix.wtfayla.net To: Allan Jude Subject: Re: ZFS-on-Root method In-Reply-To: <53993B93.4060300@freebsd.org> Message-ID: References: <53993B93.4060300@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org, Eitan Adler X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2014 22:47:00 -0000 Thanks! BTW your ZFS tutorial on BSDNow is excellent! On Thu, 12 Jun 2014, Allan Jude wrote: > On 2014-06-12 00:34, Eitan Adler wrote: >> I think you meant Allan. He was teaching me ZFS stuff too :) >> >> On 11 June 2014 00:05, wrote: >>> >>> I believe when we chatted, you noted that you wrote the ZFS-on-Root option >>> in the FreeBSD installer. Can you tell me which of these methods it uses? >>> >>> https://wiki.freebsd.org/RootOnZFS/UFSBoot >>> >>> https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition >>> >>> https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ1 >>> >>> >>> Thanks! >>> >>> >>> ------------------------------------------------------------------------- >>> shot through the heart ooh baby do you know what that's worth >>> and you're to blame ooh heaven is a place on earth >>> darling you give love they say in heaven love comes first >>> a bad name we'll make heaven a place on earth >>> ORBITAL "Halcyon Live" >>> >> >> >> > > It uses a heavily modified version of this: > > https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE > > The method it uses is not recreated explicitly on the wiki, as it has a > number of variables, especially the newer version in head that offers > encrypted and/or mirrored swap as well. > > If you are interested in how it works, you can read the source code here: > > http://svnweb.freebsd.org/base/head/usr.sbin/bsdinstall/scripts/zfsboot?view=markup > > -- > Allan Jude > >