From owner-freebsd-geom@FreeBSD.ORG Thu Oct 26 17:44:48 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 49E9C16A403 for ; Thu, 26 Oct 2006 17:44:48 +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 D902443D55 for ; Thu, 26 Oct 2006 17:44:47 +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 1Gd9HZ-000573-Tg; Thu, 26 Oct 2006 19:44:45 +0200 Message-ID: <4540F40C.2000302@fluffles.net> Date: Thu, 26 Oct 2006 19:44:44 +0200 From: Fluffles User-Agent: Thunderbird 1.5.0.7 (X11/20060917) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <20061024152308.GG75746@garage.freebsd.pl> <20061025143446.GE1167@garage.freebsd.pl> <200610261932.35945.antik@bsd.ee> In-Reply-To: <200610261932.35945.antik@bsd.ee> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Andrei Kolu 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 17:44:48 -0000 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*