Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2006 00:28:03 +0200
From:      Andrei Kolu <antik@bsd.ee>
To:        freebsd-geom@freebsd.org
Subject:   Re: gjournaled UFS2 filesystem is gone after power outage
Message-ID:  <200611100028.03345.antik@bsd.ee>
In-Reply-To: <200610262314.45754.antik@bsd.ee>
References:  <20061024152308.GG75746@garage.freebsd.pl> <20061026193437.GA9491@garage.freebsd.pl> <200610262314.45754.antik@bsd.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 26 October 2006 23:14, Andrei Kolu wrote:
> > '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.
>
Don't know why, but for some awry reason my computer gave me Trap12 error 
after shutdown command and rendered my journaling filesystem unusable.

GEOM_JOURNAL: Journal 4202463602: ad0s4 contains data.
GEOM_JOURNAL: Journal 4202463602: ad0s4 contains journal.
GEOM_JOURNAL: Journal ad0s4 clean.
WARNING: Expected rawoffset 0, found 113611680
......................
WARNING: R/W mount of /mnt/ad0s4 denied.  Filesystem is not clean - run fsck
WARNING: Expected rawoffset 0, found 113611680
WARNING: R/W mount of /mnt/ad0s4 denied.  Filesystem is not clean - run fsck
WARNING: Expected rawoffset 0, found 113611680

Why it won't check filesystem automatically when system boots up?

"fsck_ffs -p /dev/ad0s4.journal" command helped and now I am able to mount it 
again.



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