From owner-freebsd-geom@FreeBSD.ORG Thu Nov 9 22:33:39 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDE1916A412 for ; Thu, 9 Nov 2006 22:33:39 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from auriate.fluffles.net (a83-68-3-169.adsl.cistron.nl [83.68.3.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30C0243D6E for ; Thu, 9 Nov 2006 22:33:39 +0000 (GMT) (envelope-from etc@fluffles.net) Received: from destiny ([10.0.0.21]) by auriate.fluffles.net with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GiISn-0001sO-R3; Thu, 09 Nov 2006 23:33:37 +0100 Message-ID: <4553ACD0.9080405@fluffles.net> Date: Thu, 09 Nov 2006 23:33:52 +0100 From: Fluffles User-Agent: Thunderbird 1.5.0.7 (X11/20060917) MIME-Version: 1.0 To: Andrei Kolu References: <20061024152308.GG75746@garage.freebsd.pl> <20061026193437.GA9491@garage.freebsd.pl> <200610262314.45754.antik@bsd.ee> <200611100028.03345.antik@bsd.ee> In-Reply-To: <200611100028.03345.antik@bsd.ee> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gjournaled UFS2 filesystem is gone after power outage X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2006 22:33:39 -0000 Andrei Kolu wrote: > On Thursday 26 October 2006 23:14, Andrei Kolu wrote: > >>> 'fsck_ffs -p /dev/ad0s4.journal' is needed, but it only handles orphaned >>> files, which takes seconds, not hours. >>> >> Can I enable background check or at least automatic one? I always forgot to >> add .journal extension. >> >> > Don't know why, but for some awry reason my computer gave me Trap12 error > after shutdown command and rendered my journaling filesystem unusable. > > GEOM_JOURNAL: Journal 4202463602: ad0s4 contains data. > GEOM_JOURNAL: Journal 4202463602: ad0s4 contains journal. > GEOM_JOURNAL: Journal ad0s4 clean. > WARNING: Expected rawoffset 0, found 113611680 > ...................... > WARNING: R/W mount of /mnt/ad0s4 denied. Filesystem is not clean - run fsck > WARNING: Expected rawoffset 0, found 113611680 > WARNING: R/W mount of /mnt/ad0s4 denied. Filesystem is not clean - run fsck > WARNING: Expected rawoffset 0, found 113611680 > You or the system tried to mount /dev/ad0s4, whereas i think it should have tried to mount /dev/ad0s4.journal. If you have this stuff in your /etc/fstab try putting the .journal after the device name; since that's the device which contains your data; if you select an underlying geom device you'll "skip" the journal and that might not work. Just a guess. :) - Veronica