From owner-freebsd-current@FreeBSD.ORG Sat Nov 1 11:56:04 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8624106564A for ; Sat, 1 Nov 2008 11:56:04 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8A9A48FC20 for ; Sat, 1 Nov 2008 11:56:04 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id E11CE19E02D; Sat, 1 Nov 2008 12:39:37 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 081BF19E02A; Sat, 1 Nov 2008 12:39:35 +0100 (CET) Message-ID: <490C401A.9000700@quip.cz> Date: Sat, 01 Nov 2008 12:40:10 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Nicolas Martyanoff References: <20081101114717.0ffc2ec8@valhala> In-Reply-To: <20081101114717.0ffc2ec8@valhala> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: ZFS for a desktop computer X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2008 11:56:04 -0000 Nicolas Martyanoff wrote: > Hi, > > I'm thinking about switching my main desktop to FreeBSD for various > reasons (main one, I love it on my laptop and server), and I've been > considering using ZFS. I'd like to have a disk-modular system, ie.: > > - Being able to have mirroring. > - Being able to add new disks without effort. > - Being able to add new disks AND mirroring disks (spare disks ?) at > the same time. > > I'm gonna begin with 2x 1TB disks with mirroring, and I'd like to be > able to add, if needed, new disks, for example 2x 1.5TB to get 2.5TB > diskspace fully mirrored. The whole process shouldn't need to reinstall > the system, or to change the slice/partition layout, ie. be totally > transparent for the data. > And for this particular need, ZFS seems to be the way to go. > > However, I'm a bit worried about FreeBSD's ZFS implementation: > > - I've got a 64bits dual core 2GHz CPU, but can't use an amd64 FreeBSD > since Xen, NVidia drivers and wine don't work on it; but ZFS is said > to be unsuitable for i386. > > - It's said you can't boot from a ZFS pool. > > So could you please tell me if using ZFS is ok for me, or should I use > a gmirror system (but I don't think I can easily add new disks to this). I can't speek of 64bit vs. 32bit. In case of booting problem, you can create small partition on your 1TB disks, put it in gmirror with UFS2, put boot loader code to the both disks, create /boot partition (or whole root) on it and use it just for booting (ad0s1 + ad1s1 will be gmirrored as gms1). Second partition (ad0s2 + ad1s2) can be used for zpool mirror. Another disks can be added as usual. The second way - you can use CF card + CF to IDE reduction to create /boot on it (UFS2) and use it just for booting the system. Or internally connected USB flash disk / small SSD. Useful links: http://wiki.freebsd.org/ZFS http://wiki.freebsd.org/JeremyChadwick/FreeBSD_7.x_on_a_ZFS_pool http://yds.coolrat.org/zfsboot.shtml https://ish.com.au/solutions/articles/freebsdzfs Miroslav Lachman