From owner-freebsd-stable@FreeBSD.ORG Mon Feb 15 07:57:21 2010 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 D4DD210656A6 for ; Mon, 15 Feb 2010 07:57:21 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 652F48FC2E for ; Mon, 15 Feb 2010 07:57:21 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2C3B6.dip.t-dialin.net [217.226.195.182]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 29EC8844F3D; Mon, 15 Feb 2010 08:57:16 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id EF43D8EEC3; Mon, 15 Feb 2010 08:57:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1266220632; bh=FS1hl1h0dVHyAhTWU/iAw5ZNJBGZuoDHuyCWE7IaPBs=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=i5VPQJ/psK3Gh1/59leE9rWRGFBB73uboBb7Ngh/tv3DpZRAgokNveyhp9THInFxY xL7M6xn4ViM5nfH3hdJg+pc0Nyyg1hHhBRK2KEeQKnAvbi4KmiMRF9I9AInVmr95Am wQSR3+BjQKaybAfeBMU/jfOrgMAQBeOSm4MwdVSIA9LVIyMVmGflYVp12rsV5NahAH 5WwhLueb4jV9zW942Cc7rcUPHZ5S7/41WTiRx2x3dXY1oPThvcc0xQdkzasUH058DO 8IUJ0ARrpb7Uzv6QAzbKfaWsnixlYq6Y7eFg8TpIdh5QYn40RTXiRnKT0QTm5Fb0YO S33pfkqV8Xh1g== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id o1F7vBBE061041; Mon, 15 Feb 2010 08:57:11 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 15 Feb 2010 08:57:10 +0100 Message-ID: <20100215085710.21077b9vaoqxbpgk@webmail.leidinger.net> Date: Mon, 15 Feb 2010 08:57:10 +0100 From: Alexander Leidinger To: Dan Naumov References: <4B786D3A.3000408@langille.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 29EC8844F3D.8CAD1 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.363, required 6, autolearn=disabled, ALL_TRUSTED -1.44, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, TW_ZF 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1266825436.65119@X1aR36DmcEhP8x+5AiQifA X-EBL-Spam-Status: No Cc: FreeBSD-STABLE Mailing List , dan@langille.org Subject: Re: hardware for home use large storage 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: Mon, 15 Feb 2010 07:57:22 -0000 Quoting Dan Naumov (from Mon, 15 Feb 2010 01:10:49 +0200): > Get a dock for holding 2 x 2,5" disks in a single 5,25" slot and put > it at the top, in the only 5,25" bay of the case. Now add an > additional PCI-E SATA controller card, like the often mentioned PCIE > SIL3124. Now you have 2 x 2,5" disk slots and 8 x 3,5" disk slots, > with 6 native SATA ports on the motherboard and more ports on the > controller card. Now get 2 x 80gb Intel SSDs and put them into the > dock. Now partition each of them in the following fashion: > > 1: swap: 4-5gb > 2: freebsd-zfs: ~10-15gb for root filesystem > 3: freebsd-zfs: rest of the disk: dedicated L2ARC vdev If you already have 2 SSDs I suggest to make 4 partitions. The additional one for the ZIL (decide yourself what you want to speed up "more" and size the L2ARC and ZIL partitions accordingly...). This should speed up write operations. The ZIL one should be zfs mirrored, because the ZIL is more sensitive to disk failures than the L2ARC: zpool add log mirror > GMirror your SSD swap partitions. > Make a ZFS mirror pool out of your SSD root filesystem partitions > Build your big ZFS pool however you like out of the mechanical disks > you have. > Add the 2 x ~60gb partitions as dedicated independant L2ARC devices > for your SATA disk ZFS pool. BTW, the cheap way of doing something like this is to add a USB memory stick as L2ARC: http://www.leidinger.net/blog/2010/02/10/making-zfs-faster/ This will not give you the speed boost of a real SSD attached via SATA, but for the price (maybe you even got the memory stick for free somewhere) you can not get something better. Bye, Alexander. -- Crito, I owe a cock to Asclepius; will you remember to pay the debt? -- Socrates' last words http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137