zfs_20070303.patch on current

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Mar 13 16:11:08 UTC 2007


On Tue, Mar 13, 2007 at 04:57:07PM +0100, Dag-Erling Sm?rgrav wrote:
> Pawel Jakub Dawidek <pjd at FreeBSD.org> writes:
> > On Mon, Mar 12, 2007 at 03:42:11PM +0100, Dag-Erling Sm?rgrav wrote:
> > > Pawel Jakub Dawidek <pjd at FreeBSD.org> writes:
> > > > We don't have to mount /boot to read from it. The loader reads directly
> > > > 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...
> 
> 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.

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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070313/45ec569f/attachment.pgp


More information about the freebsd-fs mailing list