From owner-freebsd-questions@FreeBSD.ORG Mon Oct 14 16:47:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 39CA1FD4 for ; Mon, 14 Oct 2013 16:47:08 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 125C2263D for ; Mon, 14 Oct 2013 16:47:08 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id fb1so7777614pad.37 for ; Mon, 14 Oct 2013 09:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zaXIx8FgKFdWsBof2+ZqhSuYTaGnFgVhzSF2wbbnETc=; b=JAyXl7FCB7hOscq6CbnWXBVACn7rqtlroOHzc0aszP3Y+scA1Sl0CKbiGY6QsDI3T9 7Bl3yLXN8LvWMC7So0rhjzzoslOqUcUzj+nxwNR/BoSx3keCE56tH7/tkjSCnWTgFRQu TC52xHunyaBakqryD+G72UBfuWPtTvKsgPIjQBixaaGuQN57Ra5v5lNvMCQ1cr86VISA /ruh9tNhb2ElK+Sskrm2VDCrCI0SBt/i2Tt+LpvJYiHgHeVdvg6emiJlUywOO8rh7SYw eJEn/wAGSnpfaZ6OMec3d6mTJekIJYkHjmLPHZRbEaphlb6FVfOTg82oWIczMrCDJgOO rEpg== MIME-Version: 1.0 X-Received: by 10.68.225.232 with SMTP id rn8mr36486628pbc.32.1381769226987; Mon, 14 Oct 2013 09:47:06 -0700 (PDT) Received: by 10.70.92.79 with HTTP; Mon, 14 Oct 2013 09:47:06 -0700 (PDT) In-Reply-To: <525C1D1C.9050708@gmail.com> References: <525A6831.5070402@gmail.com> <20131014133953.58f74659@gumby.homeunix.com> <525C1D1C.9050708@gmail.com> Date: Mon, 14 Oct 2013 11:47:06 -0500 Message-ID: Subject: Re: SU+J Lost files after a power failure From: Adam Vande More To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Oct 2013 16:47:08 -0000 On Mon, Oct 14, 2013 at 11:34 AM, David Demelier wrote: > > Why? SU+J is enabled by default. Isn't the purpose of a journaled file > system to ensure that any bad shutdown will protect data? > As already stated, those measures are to preserve fs integrity eg meta data is in sync. It doesn't ensure that all the outstanding writes are committed to disk in the event of a power outage. On GNU/Linux, on Windows you will not require anything else to recover > your data. > This is complete garbage when using default settings as you imply below. The default for ext3 on basically every distro still using ext3 is an ordered journal and don't even get started on ext4. NTFS by default can/will also lose data on a power outage. > I don't want to tweak the filesystem or use something different that the > default, as it is the default it's the *warranty* that it is the correct > way to protect data for new FreeBSD user's installations IMHO. > There is no *warranty* as explicitly stated in http://www.freebsd.org/copyright/freebsd-license.html The behavior you wish would slow down disk writes by an order of magnitude and is already available to users willing to use non-default settings. -- Adam Vande More