From owner-freebsd-questions@FreeBSD.ORG Mon Oct 14 20:40:43 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 BCE0B74A for ; Mon, 14 Oct 2013 20:40:43 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 584C02628 for ; Mon, 14 Oct 2013 20:40:43 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id t61so7508315wes.20 for ; Mon, 14 Oct 2013 13:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZdfAK0trM+BXTo12dQkdTDVfALkFfOMZTTnCr3pEjP8=; b=0CnvGNqY3RbuSWhdlbnCaNeTDW5MSTyfEjnZUfSqDA3mc1rksF+JhlKgQZIejtYV7U I4oDUZ6rHo+XkSSkEbd2lOjyLjzEZfdlnsu6gOI/KGYQd59JiWrWd4KTCqMjuMJBLI6g CLhimGxdI+CNFMVxvH12CFF2vq6UTNiukPc2ClXpYAJ8khb0lBhGK5H4UyW7izLhH7SR rpzXd28ACv7+HHcqhIlr8jdwXDP8XiFXaf0LyJjmCgwqTtu9IBVv3vEnlsNe3Q+ns3xq Ys2Zl3nW2jJwRS4mS4aEBimy7AK9qKi2HFGbeKhuPvyCiFIsu14ANLema1UJa4oQgyyt NQgQ== X-Received: by 10.180.99.3 with SMTP id em3mr16538757wib.4.1381783241594; Mon, 14 Oct 2013 13:40:41 -0700 (PDT) Received: from [192.168.0.10] (171.33.91.91.rev.sfr.net. [91.91.33.171]) by mx.google.com with ESMTPSA id q17sm37846863wiv.10.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Oct 2013 13:40:41 -0700 (PDT) Message-ID: <525C56BD.8060706@gmail.com> Date: Mon, 14 Oct 2013 22:40:29 +0200 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: SU+J Lost files after a power failure References: <525A6831.5070402@gmail.com> <20131014133953.58f74659@gumby.homeunix.com> <525C1D1C.9050708@gmail.com> <20131014190850.355ecd63@gumby.homeunix.com> In-Reply-To: <20131014190850.355ecd63@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 20:40:43 -0000 On 14.10.2013 20:08, RW wrote: > On Mon, 14 Oct 2013 18:34:36 +0200 > David Demelier wrote: > >> On 14.10.2013 14:39, RW wrote: > >>> If you are having problems with data integrity you might try >>> gjournal or zfs instead. >> >> 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? > > SU+J isn't a journalled filesytem, it's a filesystem with soft-updates > that journals information about free space so it can be recovered > without having to go through the whole filesystem. > Okay, but why the fsck didn't run by itself to detect that the journal didn't replayed correctly (if I understanding well) to correct the issues?