From owner-freebsd-geom@FreeBSD.ORG Thu Nov 9 22:27:59 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 1E70016A40F for ; Thu, 9 Nov 2006 22:27:59 +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 3982843D5E for ; Thu, 9 Nov 2006 22:27:53 +0000 (GMT) (envelope-from antik@bsd.ee) Received: from pc129.host2.ida.starman.ee ([62.65.241.129] helo=[192.168.2.100]) by a5.virtuaal.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.52) id 1GiIND-0000O7-2Z for freebsd-geom@freebsd.org; Fri, 10 Nov 2006 00:27:51 +0200 From: Andrei Kolu To: freebsd-geom@freebsd.org Date: Fri, 10 Nov 2006 00:28:03 +0200 User-Agent: KMail/1.9.4 References: <20061024152308.GG75746@garage.freebsd.pl> <20061026193437.GA9491@garage.freebsd.pl> <200610262314.45754.antik@bsd.ee> In-Reply-To: <200610262314.45754.antik@bsd.ee> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611100028.03345.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: Thu, 09 Nov 2006 22:27:59 -0000 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 Why it won't check filesystem automatically when system boots up? "fsck_ffs -p /dev/ad0s4.journal" command helped and now I am able to mount it again.