SU+J Lost files after a power failure

CeDeROM cederom at tlen.pl
Mon Oct 14 16:50:58 UTC 2013


On Mon, Oct 14, 2013 at 6:47 PM, Adam Vande More <amvandemore at gmail.com> wrote:
> On Mon, Oct 14, 2013 at 11:34 AM, David Demelier
> <demelier.david at 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.

Then why random files gets damaged as well even they are not
accessed/written on power loss? :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


More information about the freebsd-questions mailing list