From owner-freebsd-fs@FreeBSD.ORG Thu Oct 2 22:37:52 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72154542 for ; Thu, 2 Oct 2014 22:37:52 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF3E1C88 for ; Thu, 2 Oct 2014 22:37:51 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id gq15so73417lab.12 for ; Thu, 02 Oct 2014 15:37:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Mg3fzYca7V2k76uIsBm+JvDWOzeznNYFIDsWTzSMlCE=; b=wvTf3yrdGtkS4zNuXfaTUDwYfLTzf7SlQ9dIQbfKP2lRLYaKdRi8DHG6Tbos4r1OZT 63ckFNFjAA1WDOrwEYg7Fa+dJMN0P4KGqPoAFKO3V6s98+xZAwxzrqC6/dmHcZEN3EzG w+3oudxr2FLShS1n0lE0vrSaxpidoZ0Gt1H43UKVUnEWD6dWpJJY4HraiySGThDcRu4i 4uJhB1oolF5SdJzbvJ8JZFX9AWhFK2dg+VpW6z8NunfxkToua6EbtCwkh91vd2sS/cOh YNInb0upbLKqPMPlycuxotFBUnoKB4WP5Ti3xwJDmeufPCzmL8hTQYUxhkTNp/vNTVl6 jpiA== MIME-Version: 1.0 X-Received: by 10.153.11.132 with SMTP id ei4mr1766493lad.24.1412289469514; Thu, 02 Oct 2014 15:37:49 -0700 (PDT) Received: by 10.114.161.134 with HTTP; Thu, 2 Oct 2014 15:37:49 -0700 (PDT) Date: Thu, 2 Oct 2014 15:37:49 -0700 Message-ID: Subject: Mirrored SSDs for ZIL/SLOG - safety, flushing, capacitors From: javocado To: FreeBSD Filesystems Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2014 22:37:52 -0000 I'm setting up a SLOG to improve performance on my ZFS-based fileserver. I plan to use 2 mirrored SSD's to create the log device. Before I continue, I have some specific questions how to approach which hardware to use. Primarily, I'm concerned with what damage/corruption may occur when there's a power loss. 1. if some data is not successfully written to the SSD-SLOG device as a result of a power loss, is this a huge deal? Or is it just a loss of some non-fatal meta data? to help avoid any loss: 2. should I only use SSDs with capacitors? does anyone recommend any? I'm seeing good things about the Intel s3500 3. if only one of the SSDs has a capacitor (I plan to use 2 different SSDs to avoid simultaneous/similar failure rates) what might that do to the SLOG mirror after a power loss? Will it know which SSD had the capacitor and thus slightly-newer data to remirror from? 4. flushing: does anyone know if (and which) SSDs are respecting and flushing data to media when told? Thanks!