Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2006 10:13:07 -0700 (PDT)
From:      "R. B. Riddick" <arne_woerner@yahoo.com>
To:        freebsd-fs@FreeBSD.ORG
Subject:   Re: Journaling UFS with gjournal.
Message-ID:  <20060623171307.87888.qmail@web30305.mail.mud.yahoo.com>
In-Reply-To: <200606231652.k5NGqoQ0023670@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Oliver Fromme <olli@lurza.secnetix.de> wrote:
> R. B. Riddick <arne_woerner@yahoo.com> wrote:
>  > Depends:
>  > If your existing file system needs its last sector,
>  > then it wont work. If it does not need it, then it
>  > might work (although fsck does not check for a
>  > raw-device shrinkage - I think)...
> 
> It has no way to check it.
>
Hmm... Maybe it is not so interesting, but I wish fsck could say, if the
partition in question is as big as it was when newfs built the file system...

> file, and fsck(8) has no way to notice that, of course.
>
fsck could not even read the last sector of the former file system, because
gjournal took it away... Or doesn't it?

> If that sector happens to contain UFS meta data, fsck(8)
> might detect the corruption and try to correct it, which
> will destroy the gjournal meta data.
>
I think write access to that sector is not possible.
Furthermore the device that is handed to fsck does not contain that meta data
sector... At least I hope, that it is like that with my geom_mirror and
geom_stripe discs... ;-)

-Arne


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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