From owner-freebsd-geom@FreeBSD.ORG Tue Mar 13 15:57:15 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 1250516A401; Tue, 13 Mar 2007 15:57:15 +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 B3CF213C4B8; Tue, 13 Mar 2007 15:57:14 +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 D74A2208C; Tue, 13 Mar 2007 16:57:07 +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 C58AD2087; Tue, 13 Mar 2007 16:57:07 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 1001) id 9C140B88E; Tue, 13 Mar 2007 16:57:07 +0100 (CET) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Pawel Jakub Dawidek 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> <86ps7evniu.fsf@dwp.des.no> <20070312142846.GA3747@garage.freebsd.pl> <86ejnur0ak.fsf@dwp.des.no> <20070313154953.GA3108@garage.freebsd.pl> Date: Tue, 13 Mar 2007 16:57:07 +0100 In-Reply-To: <20070313154953.GA3108@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Tue, 13 Mar 2007 16:49:53 +0100") Message-ID: <86k5xl5e7g.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, 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: Tue, 13 Mar 2007 15:57:15 -0000 Pawel Jakub Dawidek writes: > On Mon, Mar 12, 2007 at 03:42:11PM +0100, Dag-Erling Sm?rgrav wrote: > > Pawel Jakub Dawidek writes: > > > We don't have to mount /boot to read from it. The loader reads direct= ly > > > from boot partition, so bascially we could make /dev/ad0s1a a small U= FS > > > partition that contains the kernel, zfs kernel module and /etc/fstab > > > and it should work. Note that we currently allow for encrypting root > > > file system the same way with geli(8). > > Yeah, but it makes 'make installkernel' a bit non-obvious. > You can still always mount /boot/ from /etc/fstab, I think... Your boot filesystem needs to have roughly the following layout: /boot.config /boot/beastie.4th /boot/device.hints /boot/frames.4th /boot/kernel/kernel /boot/kernel/zfs.ko /boot/loader /boot/loader.4th /boot/loader.conf /boot/loader.rc /boot/screen.4th /boot/support.4th /etc/fstab You can't mount that somewhere and have it "just work" - you'll need to mount it somewhere out of the way and have symlinks in your root directory. Not very convenient. Easier to just use UFS on your root filesystem, and use ZFS where it can make a difference (/var, /usr/local, /home etc) Your average root filesystem is small and fairly quiet, so the chances of something going wrong are low and it only takes an instant to fsck. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no