From owner-freebsd-geom@FreeBSD.ORG Fri Nov 10 09:27:37 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 DA83A16A403 for ; Fri, 10 Nov 2006 09:27:37 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from a5.virtuaal.com (a5.virtuaal.com [195.222.15.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACE4B43D7B for ; Fri, 10 Nov 2006 09:27:29 +0000 (GMT) (envelope-from antik@bsd.ee) Received: from pc15.host2.ida.starman.ee ([62.65.241.15] helo=[192.168.2.100]) by a5.virtuaal.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.52) id 1GiSfT-0006LX-NH for freebsd-geom@freebsd.org; Fri, 10 Nov 2006 11:27:23 +0200 From: Andrei Kolu To: freebsd-geom@freebsd.org Date: Fri, 10 Nov 2006 11:27:35 +0200 User-Agent: KMail/1.9.4 References: <20061024152308.GG75746@garage.freebsd.pl> <200611100028.03345.antik@bsd.ee> <4553ACD0.9080405@fluffles.net> In-Reply-To: <4553ACD0.9080405@fluffles.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611101127.35700.antik@bsd.ee> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a5.virtuaal.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - bsd.ee X-Source: X-Source-Args: X-Source-Dir: 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: Fri, 10 Nov 2006 09:27:37 -0000 On Friday 10 November 2006 00:33, you wrote: > 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 My /etc/fstab contents: /dev/ad0s4.journal /mnt/ad0s4 ufs rw,noauto 0 0