From owner-freebsd-questions@FreeBSD.ORG Mon Oct 14 16:50:57 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 EB161158 for ; Mon, 14 Oct 2013 16:50:57 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AB8BE2694 for ; Mon, 14 Oct 2013 16:50:57 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id ii20so2556405qab.17 for ; Mon, 14 Oct 2013 09:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ZHHxfFsNd9QfiJGx8nuZRnU3zJhFdAwXmIcTTYbDPHo=; b=e5I+fSpXCjGZQLZq/LOPB6IEEyZ7AheD1sYe5wFPkSoKwngIJCHVliT5mmVRyN7AfC hKYrGZ87jFPtghvxGQuDyDf6Wnn/VP/phOxbVB7RDmQsdZdicFjIHftOHTuIfrVvASJH Jd/WEvkRPXhY9mua9oqlNRp33LT/Yy0DY74sKsV0/XXorJ1ZMa5kmq/+X4KlgP4AYQMF uce9mycTUFK/xdHjNSPS8X0q80+2BwEk+A5sMi+o0v0cA3ymQOTyG+6qb4lS6F+BLiz/ 5rZSYgLBvGJfiD+W2ZVuFK+caicpCobIugW7fe12w/Vc5paahdezD8HrGS3VfRZt9t4N vo2A== MIME-Version: 1.0 X-Received: by 10.229.65.201 with SMTP id k9mr39415579qci.11.1381769456820; Mon, 14 Oct 2013 09:50:56 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.49.16.170 with HTTP; Mon, 14 Oct 2013 09:50:56 -0700 (PDT) In-Reply-To: References: <525A6831.5070402@gmail.com> <20131014133953.58f74659@gumby.homeunix.com> <525C1D1C.9050708@gmail.com> Date: Mon, 14 Oct 2013 18:50:56 +0200 X-Google-Sender-Auth: 3QWNTNb_1qkgdyZz6uDYyR9e_p4 Message-ID: Subject: Re: SU+J Lost files after a power failure From: CeDeROM To: Adam Vande More Content-Type: text/plain; charset=UTF-8 Cc: David Demelier , 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:50:58 -0000 On Mon, Oct 14, 2013 at 6:47 PM, Adam Vande More wrote: > 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. Then why random files gets damaged as well even they are not accessed/written on power loss? :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info