gmirror+gjournal, newfs -J: can't figure out file system partition

Boris Samorodov bsam at ipt.ru
Sun Dec 7 18:37:53 UTC 2008


Dmitry Morozovsky <marck at rinet.ru> writes:
> On Sun, 7 Dec 2008, Boris Samorodov wrote:
> BS> Boris Samorodov <bsam at ipt.ru> writes:
> BS> 
> BS> > I can't do a newfs for gmirror+gjournal at two days old amd64-current:
> BS> 
> BS> Hm, even gjournal is not newfs'ed:
> BS> -----
> BS> tba# gjournal label ad8
> BS> tba# gjournal load
> BS> GEOM_JOURNAL: Journal 2321310154: ad8 contains data.
> BS> GEOM_JOURNAL: Journal 2321310154: ad8 contains journal.
> BS> GEOM_JOURNAL: Journal ad8 clean.
> BS> tba# newfs -J ad8.journal
> BS> newfs: /dev/ad8.journal: can't figure out file system partition
> BS> -----
>
> well, what if you create BSD partition inside it:
>
> bsdlabel -Bw ad8
> gjournal ad8a
> gjournal load
> newfs -J ad8a.journal

The same. But:

# gjournal label ad8
# gjournal load
# bsdlabel -Bw ad8.journal
# newfs -J ad8.journala

...was a success.

CCing to luigi at . There are chances his recent commit may broke newfs for
journal.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-current mailing list