[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gjournaled UFS2 filesystem is gone after power outage
- To: freebsd-geom_(_at_)_freebsd_(_dot_)_org
- Subject: Re: gjournaled UFS2 filesystem is gone after power outage
- From: Andrei Kolu <antik_(_at_)_bsd_(_dot_)_ee>
- Date: Fri, 10 Nov 2006 11:27:35 +0200
On Friday 10 November 2006 00:33, you wrote:
> Andrei Kolu wrote:
> > 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
>
> You or the system tried to mount /dev/ad0s4, whereas i think it should
> have tried to mount /dev/ad0s4.journal. If you have this stuff in your
> /etc/fstab try putting the .journal after the device name; since that's
> the device which contains your data; if you select an underlying geom
> device you'll "skip" the journal and that might not work. Just a guess. :)
>
> - Veronica
My /etc/fstab contents:
/dev/ad0s4.journal /mnt/ad0s4 ufs rw,noauto 0 0
_______________________________________________
freebsd-geom_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "freebsd-geom-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org