From owner-freebsd-fs@FreeBSD.ORG Wed Nov 3 18:50:09 2010 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16CAE1065696 for ; Wed, 3 Nov 2010 18:50:09 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8D60D8FC23 for ; Wed, 3 Nov 2010 18:50:08 +0000 (UTC) Received: by gwj16 with SMTP id 16so763546gwj.13 for ; Wed, 03 Nov 2010 11:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=PHPsMlHCEEQHYWuL2F6zy70BetebOaCEDedyMFv9vi4=; b=neR/OOFRm7TDXWqrUI3tYB8NGGvD/xBD2q3LfyeLY/NoIH8q/9JxwQi5MGLGMhbfF5 xqWLGNgJrxniyAFNrC1AWruj7lruNXTkovWfztnQJDFLsEgzWyAx9dpuHfYiPUMItJN9 6HliN2rYudheLO4BKVWobB8H0yNxOQFBB3RYA= 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=FCgJORXOlOvb3DmV451OQ+OYk42XTJOiY1yGeqTsYe4O3X+w7jTkR1ih4W1cs/l2q3 3ofZUCmauBxlq5l9tDZ0/DYZN6l4sZUmdvbvCX3Zz+6X7tezT37PA173p6bCppHRl3U6 mg2oZIvPIB3EYx11G7/8vvWQlZIvYauh/7Z00= MIME-Version: 1.0 Received: by 10.90.4.26 with SMTP id 26mr1334563agd.84.1288808468420; Wed, 03 Nov 2010 11:21:08 -0700 (PDT) Received: by 10.90.97.7 with HTTP; Wed, 3 Nov 2010 11:21:08 -0700 (PDT) In-Reply-To: References: <4CD04AEC.8040607@aldan.algebra.com> Date: Wed, 3 Nov 2010 11:21:08 -0700 Message-ID: From: Freddie Cash To: fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: Re: Using an SSD "disk" for / X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 18:50:09 -0000 On Wed, Nov 3, 2010 at 10:39 AM, Tom Evans wrote: > On Wed, Nov 3, 2010 at 1:34 PM, Pete French wrote: >> I boot a server from a Compact Flash drive connected to a CF->SATA >> adaptor. Its only 4GB, enough to boot, and then all my read/write >> partititons come from several terrabytes of attached zpool. It >> works excellently, and was very cheap to setup. Performance is >> fine as you are almost never writing to the flash drive. The only >> time I notice the slowdown is when doing an installworld or installkernel. > > When you set up your disks like this, where do you put your swap? > > For my home ZFS server - which has a tank with two raidz pools, each > with 6 disks in - I partitioned the first 6 disks into 2 partitions, a > 6 GB chunk at the start, and the remaining data used for zfs. I then > use 3 of the disks first partition in a gmirror UFS root partition, > and the other 3 as swap. We do something similar to Pete: - 2x CompactFlash disks in CF-to-SATA adapters, gmirror'd together for the OS - bunch of SATA disks configured via ZFS, for everything else But, we add an SSD for L2ARC use, with 8 GB partitioned off for swap. Thus, the CF disks are basically read-only except for installworld/kernel and the odd config file update. -- Freddie Cash fjwcash@gmail.com