Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2011 22:56:58 +0200
From:      Mikael Fridh <frimik@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: ZFS root on MB Intel S3420GP
Message-ID:  <BANLkTimU0dwLgypVGApmA2SeWsReiAryHA@mail.gmail.com>
In-Reply-To: <BANLkTimZ1X-rqCjO0NJKmh-ur6QGA_aRtA@mail.gmail.com>
References:  <20110417123232.GA96423@laa.zp.ua> <BANLkTimZ1X-rqCjO0NJKmh-ur6QGA_aRtA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 17, 2011 at 3:54 PM, George Kontostanos
<gkontos.mail@gmail.com> wrote:
> There is a nice guide in the WIKI regarding how to install your system with
> ZFS on root.
>
> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ2

My recipe on the last few installs have been the [1]UFSBoot guide, but
instead I put /boot on a USB stick.
After installation I insert a second USB  stick and follow the
[2]handbook to configure a gmirror over 2 of them.

[1] http://wiki.freebsd.org/RootOnZFS/UFSBoot
[2] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html

I make sure to:
newfs -L usbboot -b 65536 /dev/daXs1a

and use the ufs label in /etc/fstab:
tank    /       zfs     rw      0       0
/dev/ufs/usbboot        /bootdir        ufs     rw      0       0

This works very well so far and I can use 100% of my disk drives for
ZFS without wasting so much as a slice.
I'm not sure if there's any particular gotcha with this in the long
run... the usbs are pretty much read-only until I do another make
installkernel.

Now I've also converted to using ahci.ko after Jeremys tip.

I run releng_8_2 and
http://people.freebsd.org/~mm/patches/zfs/v28/releng-8.2-zfsv28-20110317.patch.xz
on all (4) machines so far.

--
Mikael



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