From owner-freebsd-stable@FreeBSD.ORG Sat May 30 18:41:37 2009 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 CD441106566C for ; Sat, 30 May 2009 18:41:37 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 885228FC1A for ; Sat, 30 May 2009 18:41:36 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so3524613yxb.13 for ; Sat, 30 May 2009 11:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=iCPePrravXFF2Tmog+TrtEnMEPW8vhaO7wBrvM8ao54=; b=vio39AvyoOU1XwMCKq37SRqWqn7IIjkMtBMjJ9rVhKHJC4YsWEZwh32CpyZdv3tCeL Wwlxn6Womwoo3fuNYACLR1S3egIjC3hlR/UZ30hQsmZXvvaQXNN0eoOEyQ3u/J89g1wP tn02opTS8wlNs3Yq04ZALCiv5R/77ixmtHWK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=AlaMJ3DeA+6Vy/BsKg8SC+K50yvP3zQ1i4NTZrtEyetj4uArqARNGREI9T0BLhkMTw Sj2egIUEzjsj4O9Ano1PZbH37MrQatwc3ZvQEERRFOCzxXUt5MK7Cba1Q/lcmhUpJboz VAmo/DWuy6dLLAUnj7hkVyVqX3bdi1Ozqx+Og= MIME-Version: 1.0 Received: by 10.100.126.19 with SMTP id y19mr5411910anc.46.1243708896386; Sat, 30 May 2009 11:41:36 -0700 (PDT) Date: Sat, 30 May 2009 21:41:36 +0300 Message-ID: From: Dan Naumov To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ZFS NAS configuration question 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: Sat, 30 May 2009 18:41:38 -0000 Hey I am not entirely sure if this question belongs here or to another list, so feel free to direct me elsewhere :) Anyways, I am trying to figure out the best way to configure a NAS system I will soon get my hands on, it's a Tranquil BBS2 ( http://www.tranquilpc-shop.co.uk/acatalog/BAREBONE_SERVERS.html ). which has 5 SATA ports. Due to budget constraints, I have to start small, either a single 1,5 TB drive or at most, a small 500 GB system drive + a 1,5 TB drive to get started with ZFS. What I am looking for is a configuration setup that would offer maximum possible storage, while having at least _some_ redundancy and having the possibility to grow the storage pool without having to reload the entire setup. Using ZFS root right now seems to involve a fair bit of trickery (you need to make an .ISO snapshot of -STABLE, burn it, boot from it, install from within a fixit environment, boot into your ZFS root and then make and install world again to fix the permissions). To top that off, even when/if you do it right, not your entire disk goes to ZFS anyway, because you still do need a swap and a /boot to be non-ZFS, so you will have to install ZFS onto a slice and not the entire disk and even SUN discourages to do that. Additionally, there seems to be at least one reported case of a system failing to boot after having done installworld on a ZFS root: the installworld process removes the old libc, tries to install a new one and due to failing to apply some flags to it which ZFS doesn't support, leave it uninstall, leaving the system in an unusable state. This can be worked around, but gotchas like this and the amount of work involved in getting the whole thing running make me really lean towards having a smaller traditional UFS2 system disk for FreeBSD itself. So, this leaves me with 1 SATA port used for a FreeBSD disk and 4 SATA ports available for tinketing with ZFS. What would make the most sense if I am starting with 1 disk for ZFS and eventually plan on having 4 and want to maximise storage, yet have SOME redundancy in case of a disk failure? Am I stuck with 2 x 2 disk mirrors or is there some 3+1 configuration possible? Sincerely, - Dan Naumov