From owner-freebsd-geom@FreeBSD.ORG Thu Oct 26 19:35:10 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 8D83316A417 for ; Thu, 26 Oct 2006 19:35:10 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id D23D943D53 for ; Thu, 26 Oct 2006 19:35:09 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id F3E6E487F4; Thu, 26 Oct 2006 21:35:07 +0200 (CEST) Received: from localhost (dkd232.neoplus.adsl.tpnet.pl [83.24.7.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id ACC72487F0; Thu, 26 Oct 2006 21:35:02 +0200 (CEST) Date: Thu, 26 Oct 2006 21:34:37 +0200 From: Pawel Jakub Dawidek To: Fluffles Message-ID: <20061026193437.GA9491@garage.freebsd.pl> References: <20061024152308.GG75746@garage.freebsd.pl> <20061025143446.GE1167@garage.freebsd.pl> <200610261932.35945.antik@bsd.ee> <4540F40C.2000302@fluffles.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <4540F40C.2000302@fluffles.net> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: Andrei Kolu , 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, 26 Oct 2006 19:35:10 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 b= attery=20 > > 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 > > =20 >=20 > Well you should use: >=20 > fsck -t ufs /dev/ad0s4 > and after that mount it. >=20 > Right now you should be able to mount the volume with mount -f > /dev/ad0s4 , but that is not recommended. >=20 > 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. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFQQ3NForvXbEpPzQRAojsAJ4iKgbbxS08gTDtV5jL6Np0blR10QCeOwmo oTJAIRVZf/Of2hLgUEWbIoQ= =pXbr -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--