From owner-freebsd-current@FreeBSD.ORG Fri Oct 23 15:28:09 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BC211065676 for ; Fri, 23 Oct 2009 15:28:09 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id B4C1E8FC20 for ; Fri, 23 Oct 2009 15:28:08 +0000 (UTC) Received: from [192.168.1.4] (adsl-154-198-93.ard.bellsouth.net [72.154.198.93]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n9NFS6Tx000691 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 23 Oct 2009 11:28:07 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Tom Evans In-Reply-To: <1256304312.18047.103.camel@strangepork.london.mintel.ad> References: <4ADE995A.8080009@ish.com.au> <1256174188.2309.22.camel@balrog.2hip.net> <4ADFCFF3.1030201@ish.com.au> <790a9fff0910220001m3d7df03j127b51d7d0696271@mail.gmail.com> <1256304312.18047.103.camel@strangepork.london.mintel.ad> Content-Type: text/plain Organization: FreeBSD Date: Fri, 23 Oct 2009 10:28:01 -0500 Message-Id: <1256311681.2283.42.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: Scot Hetzel , Aristedes Maniatis , freebsd-current@freebsd.org Subject: Re: gpart, bsdlabel and fdisk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2009 15:28:09 -0000 On Fri, 2009-10-23 at 14:25 +0100, Tom Evans wrote: > On Thu, 2009-10-22 at 02:01 -0500, Scot Hetzel wrote: > > On Wed, Oct 21, 2009 at 10:22 PM, Aristedes Maniatis wrote: > > You may also want to check out these pages I created on how to setup a > > Root on ZFS configuration with ZFS using MBR, and GPT (Single, Mirror, > > RAIDZ1, RAIDZ2) Configurations. > > > > http://wiki.freebsd.org/RootOnZFS > > > > If anyone notices a problem with them, either let me know or update > > the wiki page. > > > > Scot > > As I'm planning to do this tomorrow morning, can I just say these > instructions are great! One small thing, in the RAIDZ1 guide, step 1.8 > (Create ZFS Pool zroot) says: > > Fixit# mkdir /boot/zfs > Fixit# zpool create tank raidz1 ad0p3 ad1p3 ad2p3 > Fixit# zpool set bootfs=zroot zroot Since I've been spending some quality time with the zfs boot code lately, setting bootfs can be problematic. I have a patch that fixes it, but what I discovered is that zpool won't allow you to add top-level devices (at least) if bootfs is set (Since opensolaris can't actually boot in this case, however we can). Once bootfs has been set, the property is always present, even if you clear the parameter back to default. The current zfs boot code will then go down a hole and fail to boot. Setting bootfs is *not* required on FreeBSD, however this issue should be fixed in -CURRENT pretty soon. robert. > Shouldn't 'tank' be 'zroot'? > > Cheers > > Tom > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Robert Noland FreeBSD