From owner-freebsd-geom@FreeBSD.ORG Mon Mar 12 09:35:36 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B435C16A400; Mon, 12 Mar 2007 09:35:36 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 7507513C44B; Mon, 12 Mar 2007 09:35:36 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id CD642207E; Mon, 12 Mar 2007 10:06:49 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 430172049; Mon, 12 Mar 2007 10:06:49 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 1001) id 27C48B88E; Mon, 12 Mar 2007 10:06:49 +0100 (CET) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Barry Pederson References: <20070120073117.GB60202@x12.dk> <200703061246.09687.antik@bsd.ee> <45ED5850.6050506@nipsi.de> <200703061420.36980.antik@bsd.ee> <20070307135017.GC2864@garage.freebsd.pl> <45F2EEBD.6070007@barryp.org> Date: Mon, 12 Mar 2007 10:06:49 +0100 In-Reply-To: <45F2EEBD.6070007@barryp.org> (Barry Pederson's message of "Sat, 10 Mar 2007 11:45:33 -0600") Message-ID: <86ps7evniu.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@FreeBSD.org, Pawel Jakub Dawidek , freebsd-geom@freebsd.org Subject: Re: zfs_20070303.patch on current X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 09:35:36 -0000 Barry Pederson writes: > Is there any hope for someday optionally using ZFS as a root filesystem? For that to be possible, both /boot/boot2 and /boot/loader need to understand ZFS well enough to read files from it. There isn't much room to spare in /boot/boot2, so we'd have to have a separate version for ZFS and teach 'disklabel -B' how to pick the right one. > I was sort of imagining a setup where /boot resided in a UFS > filesystem so it could hold the kernel/modules/regular booting info > and - > /boot/loader.conf would specify 'zfs_load=3D"YES"' along with another > directive to tell which zfs filesystem to use as root. Unlike Linux, where this is a common configuration, FreeBSD can't mount a root filesystem underneath an already mounted /boot filesystem. Nor do we have anything resembling Linux's pivot_root which would allow us to mount the root filesystem on top of /boot and then switch them around. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no