From owner-freebsd-geom@FreeBSD.ORG Thu Oct 26 21:11:26 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 EA18C16A403 for ; Thu, 26 Oct 2006 21:11:26 +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 4F90C43D45 for ; Thu, 26 Oct 2006 21:11:25 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id C1F0F45696; Thu, 26 Oct 2006 23:11:24 +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 CE34A45681; Thu, 26 Oct 2006 23:11:19 +0200 (CEST) Date: Thu, 26 Oct 2006 23:10:54 +0200 From: Pawel Jakub Dawidek To: Andrei Kolu Message-ID: <20061026211054.GB9491@garage.freebsd.pl> References: <20061024152308.GG75746@garage.freebsd.pl> <4540F40C.2000302@fluffles.net> <20061026193437.GA9491@garage.freebsd.pl> <200610262314.45754.antik@bsd.ee> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline In-Reply-To: <200610262314.45754.antik@bsd.ee> 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: 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 21:11:27 -0000 --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 26, 2006 at 11:14:45PM +0300, Andrei Kolu wrote: > 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 repla= ce > > > > 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. >=20 > Can I enable background check or at least automatic one? I always forgot = to=20 > add .journal extension.=20 It will be automatically checked if you have it in /etc/fstab. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFQSReForvXbEpPzQRAibCAJoCZMCetqXo+f8fWKWxmFXBAPRqIwCfQUJq MtYtttJXpKBF42Fv5iljZOQ= =d5IJ -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O--