From owner-freebsd-fs@FreeBSD.ORG Thu Jan 17 04:21:44 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 4BF7A881 for ; Thu, 17 Jan 2013 04:21:44 +0000 (UTC) (envelope-from matthew.ahrens@delphix.com) Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by mx1.freebsd.org (Postfix) with ESMTP id 1FA0099A for ; Thu, 17 Jan 2013 04:21:43 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id c14so4165346ieb.28 for ; Wed, 16 Jan 2013 20:21:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphix.com; s=google; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=NHVW9y7cpP5XK6Ji3Qf32ZhKVIxLJhzATdxtUH2ewJ8=; b=WuDeEEllgXIpaqGziFdu3jdlj/+47queTFUHAKovWh3kPO88eS7F5I+7WBk6oFvbc+ uP1m0py2zfVkxEgZ4cs7FHBZHYHU3YfTnJExhli8r40xQuufW1i3Nt62Wc4GoID2Lrh2 0pYTo4maNewpQyO0aXW3Yxt8lsS2cUkihTG9o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=NHVW9y7cpP5XK6Ji3Qf32ZhKVIxLJhzATdxtUH2ewJ8=; b=mqY19zdTl2tnYzS21XLNgtdvaWUoaUWSdezNj5Bb7CczZzsLXsy4KLXKIIcBWau4r7 89PdCidJmYmut7RD9zlOZ13e7GpiHm2wBSak3JYQXr2gfJPdKS7Gjc7WIWfAMyaNmW+d ERHwL8JgyMDvcR/bVvWEF2HI2G/ixqnI2Nw3h2fQg7KQNwSm9rZ5zc02FVN78L00krpF yZ8IX8H3HKFH4XeYW5+nlZDGJaIIT7E+l9nJizinHR+RyPn0ECNxIoW5aEHveQ+tj+Vh 5SdFbxK+g1Ix65Dwgi1LDbhKhwRvf0MQj8lxNWxCFnpDDQ/5IPpzfUrsVfs8TsE2yYmy cNcw== MIME-Version: 1.0 X-Received: by 10.50.7.204 with SMTP id l12mr6904927iga.103.1358396503365; Wed, 16 Jan 2013 20:21:43 -0800 (PST) Received: by 10.50.91.131 with HTTP; Wed, 16 Jan 2013 20:21:43 -0800 (PST) In-Reply-To: References: <20130109023327.GA1888@FreeBSD.org> Date: Wed, 16 Jan 2013 20:21:43 -0800 Message-ID: Subject: Re: rc.d script for memory based zfs intent log From: Matthew Ahrens To: araujo@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkL7md778WPa7CW4ZdGfYYODqJdIeDV4p/6Bq4vw0XqeRq/uO/LVjYaCTVkkaHT6dvQDNLq Cc: FreeBSD Filesystems , John X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2013 04:21:44 -0000 Pardon my inexperience with FreeBSD, but is this ramdisk persistent across reboots? POST doesn't overwrite it? --matt On Wed, Jan 16, 2013 at 7:11 PM, Marcelo Araujo wrote: > 2013/1/9 John > >> http://people.freebsd.org/~jwd/memzil.txt > > > Hello John, > > In my point of view this script seems be very useful, and I probably will > use it in my product. > > As an example, I faced out few problems on system reboot/shutdown, I use > Ramdisk as ZIL, when normal reboot/shutdown the ramdisk will disappear, > because right now there is nothing to detach the ramdisk safely. I do > believe with this script I can attache a new ZIL in every boot and detach > it safely when perform a reboot/shutdown. > > I use some tricks with my ZIL, it is mirrored using RAM and the RAM has its > own battery to protect the data, my main problem is what I described above. > I don't think sync=disable is a good option, regards you can loose data. > > Nice script! > > Thanks! > -- > Marcelo Araujo > araujo@FreeBSD.org > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"