From owner-freebsd-fs@FreeBSD.ORG Tue Mar 13 16:11:08 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6677D16A400; Tue, 13 Mar 2007 16:11:08 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id D936513C465; Tue, 13 Mar 2007 16:11:07 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 7BDBD48801; Tue, 13 Mar 2007 17:11:06 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 3D2F7456AB; Tue, 13 Mar 2007 17:10:50 +0100 (CET) Date: Tue, 13 Mar 2007 17:10:49 +0100 From: Pawel Jakub Dawidek To: Dag-Erling Sm?rgrav Message-ID: <20070313161049.GB3108@garage.freebsd.pl> References: <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> <86k5xl5e7g.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mojUlQ0s9EVzWg2t" Content-Disposition: inline In-Reply-To: <86k5xl5e7g.fsf@dwp.des.no> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org, freebsd-geom@freebsd.org Subject: Re: zfs_20070303.patch on current 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: Tue, 13 Mar 2007 16:11:08 -0000 --mojUlQ0s9EVzWg2t Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 13, 2007 at 04:57:07PM +0100, Dag-Erling Sm?rgrav wrote: > 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 dire= ctly > > > > from boot partition, so bascially we could make /dev/ad0s1a a small= UFS > > > > 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... >=20 > Your boot filesystem needs to have roughly the following layout: >=20 > /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 >=20 > 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) >=20 > 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. Actually this is what I suggest to do when someone is asking about booting from ZFS, but just wanted to clearify that it should be possible to have root ZFS file system, maybe not nice, but possible. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --mojUlQ0s9EVzWg2t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF9s0JForvXbEpPzQRAm0lAJ4uStO0fTN5tcoh5IgUG5zpaFEh0wCdFDEP XdZYKiduMsNoj6AHUVxo74Q= =tbBD -----END PGP SIGNATURE----- --mojUlQ0s9EVzWg2t--