From owner-freebsd-geom@FreeBSD.ORG Thu Oct 26 20:14:45 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 AA45E16A47C for ; Thu, 26 Oct 2006 20:14:45 +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 372D843D4C for ; Thu, 26 Oct 2006 20:14:45 +0000 (GMT) (envelope-from antik@bsd.ee) Received: from pc134.host2.ida.starman.ee ([62.65.241.134] helo=[192.168.2.100]) by a5.virtuaal.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.52) id 1GdBch-0006YY-2s for freebsd-geom@freebsd.org; Thu, 26 Oct 2006 23:14:43 +0300 From: Andrei Kolu To: freebsd-geom@freebsd.org Date: Thu, 26 Oct 2006 23:14:45 +0300 User-Agent: KMail/1.9.4 References: <20061024152308.GG75746@garage.freebsd.pl> <4540F40C.2000302@fluffles.net> <20061026193437.GA9491@garage.freebsd.pl> In-Reply-To: <20061026193437.GA9491@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610262314.45754.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 - [0 0] / [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, 26 Oct 2006 20:14:45 -0000 On Thursday 26 October 2006 10:34 pm, Pawel Jakub Dawidek wrote: > On Thu, Oct 26, 2006 at 07:44:44PM +0200, Fluffles wrote: > > Andrei Kolu wrote: > > > I got power outage- UPS couldn't handle it this time- have to replace > > > battery and now I can't read my filesystem that I made for testing > > > purposes: > > > > > > # mount /dev/ad0s4.journal /mnt/ad0s4/ > > > mount: /dev/ad0s4.journal: Operation not permitted > > > # fsck /dev/ad0s4 > > > fsck: Could not determine filesystem type > > > > Well you should use: > > > > fsck -t ufs /dev/ad0s4 > > and after that mount it. > > > > Right now you should be able to mount the volume with mount -f > > /dev/ad0s4 , but that is not recommended. > > > > But i were told fsck was not necessary when using gjournal. *shrug* > > '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.