From owner-freebsd-questions@FreeBSD.ORG Sun Oct 13 10:23:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 17337ACC for ; Sun, 13 Oct 2013 10:23:24 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A58F62C74 for ; Sun, 13 Oct 2013 10:23:23 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id t60so5723462wes.26 for ; Sun, 13 Oct 2013 03:23:22 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/m6DSlDWbsgqyOjQql2fnrCyt6U3fBF9lhPwwrIgS4Y=; b=mhwomUVYrhWddY7T01R2/kUeRhZxvpFErzaguKpF3tHBPRB1KP8UR0HrBk45ucRao9 hByZfdESIbeB5rut5tUMHurIiWLRiwljjE1nhOU4OvpqfTPENNt0S1XM/2k/8TpDKd/u LFK0StKcvz/0HbXmpr6jUHAwm13oYit0j7lqr5F0tqSKyu8OsFlZtbh+mtCLtuIDK9Gg 9UMSJSmgjsVMvk/MlfE3AQuOG73ArGcd3gNRp1zXi7Dq2TdJDBklSUctSZ/FGlPVslLX t+41sfnkvTlH8XNKUXLILgDCYI2lGkh5XytUWOWFMr85Zo2nHoOwdh9yJ/uMABRzZRz9 F91g== X-Received: by 10.180.20.77 with SMTP id l13mr10288676wie.40.1381659802119; Sun, 13 Oct 2013 03:23:22 -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 bs15sm12223064wib.10.2013.10.13.03.23.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Oct 2013 03:23:21 -0700 (PDT) Message-ID: <525A748F.3050109@gmail.com> Date: Sun, 13 Oct 2013 12:23:11 +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: CeDeROM Subject: Re: SU+J Lost files after a power failure References: <525A6831.5070402@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Mailing List 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: Sun, 13 Oct 2013 10:23:24 -0000 On 13.10.2013 12:16, CeDeROM wrote: > On 13 Oct 2013 11:30, "David Demelier" > wrote: >> Hello there, >> I'm writing because after a power failure I was unable to log in on my >> FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some >> files disappeared, including /etc/pwd.db. Thus I was unable to log in. >> I've been able to regenerate the password database with a live cd but >> I'm afraid that more files had disappeared somewhere else... >> I think this is a serious issue, the journal should not truncate files, >> so something should have gone wrong somewhere.. >> Any ideas? Should I open a PR > > I had similar issues somewhere around 9.0 - although journal check was > fine running fsck revealed filesystem inconsistency. I have reported > this on the list, but it seemed unnoticed..? For me this is serious > issue as well, if you make PR I will give +1 :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > Yes, I've also ran fsck in single user mode after and lot of incorrect things were corrected, I wait a bit for answers (if any) before sending a PR. Cheers,