Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2006 21:34:37 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Fluffles <etc@fluffles.net>
Cc:        Andrei Kolu <antik@bsd.ee>, freebsd-geom@freebsd.org
Subject:   Re: gjournaled UFS2 filesystem is gone after power outage
Message-ID:  <20061026193437.GA9491@garage.freebsd.pl>
In-Reply-To: <4540F40C.2000302@fluffles.net>
References:  <20061024152308.GG75746@garage.freebsd.pl> <20061025143446.GE1167@garage.freebsd.pl> <eho3ng$7gj$1@sea.gmane.org> <200610261932.35945.antik@bsd.ee> <4540F40C.2000302@fluffles.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <mountpoint>, 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061026193437.GA9491>