From owner-freebsd-fs@FreeBSD.ORG Tue Sep 18 12:27:16 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F3E0106568A for ; Tue, 18 Sep 2012 12:27:16 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id F136F8FC08 for ; Tue, 18 Sep 2012 12:27:15 +0000 (UTC) Received: by eaak11 with SMTP id k11so2903418eaa.13 for ; Tue, 18 Sep 2012 05:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=nOrc22YorVIyf8PAEfpLbrbjtX3D/8bG/YNUes1eBVU=; b=pG9oOwLOTHOha/I83KnswFH7dufwinDBWExEEneVPNoow/bKuWPytX2Rg4W93zsYOh 6xbD02qhBpF3rbmzQ+NvIaMqXB/urZX4rMop7lYQdn9FwXpRjSaaSLTFsb9RBGMyV7bC 4sISl4U/pi8UtRjGuG0uYXLJQiAECtOajoNgHIGYTZVUNHhBo8B7umVhTcNOyAU+TbJO eqZo7tBGVOaAymkGlK81M1P+d66lluZIks7/qY/8Ouw7Ds5R5gLLdTXTG7sgEHDP4+rR rl3H5PhvUJ+VVkzYf8uEHXeihZVDGdaQi+6yMwlRgcjLra6Sk2b5IN1yT0Pd1WWhxGVZ E31w== Received: by 10.14.198.65 with SMTP id u41mr17451850een.22.1347971234791; Tue, 18 Sep 2012 05:27:14 -0700 (PDT) Received: from green.local (90-224-132-95.pool.ukrtel.net. [95.132.224.90]) by mx.google.com with ESMTPS id r45sm35929439eem.6.2012.09.18.05.27.11 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2012 05:27:13 -0700 (PDT) Message-ID: <5058689E.5060302@gmail.com> Date: Tue, 18 Sep 2012 15:27:10 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Olivier Smedts References: <9A49FDEB-325E-4A25-8FB9-C4FF8F9BAF67@bway.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: zpool add log to root pool 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: Tue, 18 Sep 2012 12:27:16 -0000 18.09.2012 14:24, Olivier Smedts wrote: > 2012/9/17 Charles Sprickman : >> On Sep 17, 2012, at 8:34 AM, Olivier Smedts wrote: >>> Is there anyone successfuly using a log device / zil on a root pool >>> under FreeBSD ? >> >> Mine works, but I've never been able to find any official confirmation from the -fs folks as to how "proper" or supported the configuration is. Not too many other options on 1U boxes though really... > > Thanks, I tried and it works for me : > # zpool set bootfs= tank > # zpool add tank log gpt/zil > # zpool set bootfs=tank/freebsd tank > Rebooted, seems to work... maybe the bootfs property check should be > disabled in the code ? There might be some uncertain areas like: 1. Does our bootcode support replaying/reconstructing ZIL before booting? 2. Would the machine boot if log device is missed? 3. How much data can be thrashed when log device fails. UPS answers most of this questions to me, but my machine is local test server, not a production one. -- Sphinx of black quartz judge my vow.