Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 17:10:49 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        freebsd-fs@FreeBSD.org, freebsd-geom@freebsd.org
Subject:   Re: zfs_20070303.patch on current
Message-ID:  <20070313161049.GB3108@garage.freebsd.pl>
In-Reply-To: <86k5xl5e7g.fsf@dwp.des.no>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <pjd@FreeBSD.org> writes:
> > On Mon, Mar 12, 2007 at 03:42:11PM +0100, Dag-Erling Sm?rgrav wrote:
> > > Pawel Jakub Dawidek <pjd@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070313161049.GB3108>