Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 11:47:06 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        David Demelier <demelier.david@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: SU+J Lost files after a power failure
Message-ID:  <CA+tpaK2Pr2po2cQ1yanQK9+wLp77SYqYHjxiXaU5FfXwHrkGow@mail.gmail.com>
In-Reply-To: <525C1D1C.9050708@gmail.com>
References:  <525A6831.5070402@gmail.com> <l3gc7e$c91$1@ger.gmane.org> <20131014133953.58f74659@gumby.homeunix.com> <525C1D1C.9050708@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Oct 14, 2013 at 11:34 AM, David Demelier
<demelier.david@gmail.com>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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CA+tpaK2Pr2po2cQ1yanQK9+wLp77SYqYHjxiXaU5FfXwHrkGow>