From owner-freebsd-stable@FreeBSD.ORG Sun Apr 17 21:27:36 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BF0D106564A for ; Sun, 17 Apr 2011 21:27:36 +0000 (UTC) (envelope-from frimik@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 136D78FC12 for ; Sun, 17 Apr 2011 21:27:35 +0000 (UTC) Received: by vxc34 with SMTP id 34so4043398vxc.13 for ; Sun, 17 Apr 2011 14:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=D5d/wKOBD5+7ugjusuR/v1w320GUWmoFDDFGwLNXm7w=; b=ufdqDFO33kxDsXhcBcyQ7loTaDkfcN2cX4blUrg8JfYM7hgPzgQQVqyIljzeewUcjc Qx/Twocy8dP9/9Fkjc1BM2nFHi6vk71z95A2+8z34WNDiAFgOaeLDukcvjwnYtmdNimz VeoQLG4bhgzfbZH5KeywHlpvgyKo3VvWuPn3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=xH9obSn9hEkxfFCbOP7xhgmEdI6qJKg529wYUaaQguUfU8oX2CNvM1xxYCe2tSQvrc B+3oxW5g96cdQmS5n7HGEp66jpZTj8Z5e/J7SkKeTLidXCl26rSYynoMCTYLUAmQUQw9 63JOiJXhLw/0EaM49mDbyRRKkYq5XOdCGr5rI= MIME-Version: 1.0 Received: by 10.52.67.105 with SMTP id m9mr6342837vdt.126.1303073818728; Sun, 17 Apr 2011 13:56:58 -0700 (PDT) Received: by 10.52.158.10 with HTTP; Sun, 17 Apr 2011 13:56:58 -0700 (PDT) In-Reply-To: References: <20110417123232.GA96423@laa.zp.ua> Date: Sun, 17 Apr 2011 22:56:58 +0200 Message-ID: From: Mikael Fridh To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ZFS root on MB Intel S3420GP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2011 21:27:36 -0000 On Sun, Apr 17, 2011 at 3:54 PM, George Kontostanos 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