From owner-freebsd-fs@FreeBSD.ORG Thu Jan 17 04:33:00 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9E0A0A20; Thu, 17 Jan 2013 04:33:00 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1983225F; Thu, 17 Jan 2013 04:32:59 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id hn14so1943081wib.3 for ; Wed, 16 Jan 2013 20:32:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=yWXPQIAK/pmOpzSXkOQOZOEUiFZ1UvL5sAqW+oAxOrw=; b=ADp5o7OsjfxtM1cCBwtcJJG7z25pSnjedrtCN3XZVZbGL7o5BWAaTUei1/ozKlLTnp 1IcDPWNEVa8Y2KmDaV3Givj/lFDXFI23yoa6/iFb87xXvXcVvB+YwzIy/opb/Am5tJMx qiP1GmE0R55NwqZBYUW0wF1mX87fGQeJhF8x1pQFhJ2B8ti7ow9SS/J1XfxBai2nl+o3 BdmbOOw72bs96KIlG6KazdSVwdT7SBMRKAOkCifL6lB3KwJlk1lI73zRbNlYS5hgW6wo LN/CXi5ZXrqMtggbfW7Pu4bZnu+UvUL51wFpNnl1eQNgQ5cHgAmtUwVIvlH3EbqCoSpW PWXQ== MIME-Version: 1.0 X-Received: by 10.194.240.233 with SMTP id wd9mr5908977wjc.54.1358397179188; Wed, 16 Jan 2013 20:32:59 -0800 (PST) Received: by 10.180.145.44 with HTTP; Wed, 16 Jan 2013 20:32:59 -0800 (PST) In-Reply-To: References: <20130109023327.GA1888@FreeBSD.org> Date: Thu, 17 Jan 2013 12:32:59 +0800 Message-ID: Subject: Re: rc.d script for memory based zfs intent log From: Marcelo Araujo To: Matthew Ahrens Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Filesystems , John X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: araujo@FreeBSD.org List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2013 04:33:00 -0000 2013/1/17 Matthew Ahrens > Pardon my inexperience with FreeBSD, but is this ramdisk persistent > across reboots? POST doesn't overwrite it? > > --matt Hello Matthew, No, it is not persistent, it will create a new RAMDISK at boot time. But like in my case, I have a persistent ZIL that is mirrored, with small changes on this script you can have a persistent ZIL. But in my case, I have a special stuff, I have the ZIL at RAMDISK mirrored and two different RAM and protected by battery, when I make a shutdown it dump all information from RAMDISK to a SSD, and when I boot, it does the opposite, create the RAMDISK and dump from SSD to RAMDISK and I just attach it once again to the pool. Best Regards, -- Marcelo Araujo araujo@FreeBSD.org