Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2008 18:17:58 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Eugene Butusov <ebutusov@gmail.com>
Cc:        David N <davidn04@gmail.com>, FreeBSD-STABLE-LIST <freebsd-stable@freebsd.org>
Subject:   Re: 7-STABLE, gjournal and fsck.
Message-ID:  <20080803181633.U64745@woozle.rinet.ru>
In-Reply-To: <4895A61F.8030502@gmail.com>
References:  <4894CE6D.2000204@gmail.com> <4d7dd86f0808030433l6cda06ccjba154d6f0cee7d0e@mail.gmail.com> <4895A61F.8030502@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 3 Aug 2008, Eugene Butusov wrote:

EB> > Did you re-create your file systems? How did you create the journal?
EB> > 
EB> > eg. newfs /dev/ad4s1g.journal       ?
EB> > 
EB> > or did you just enable journal on the partition? via tunefs?
EB> 
EB> I did it this way:
EB> 
EB> /dev/ad4s1g is my /home, an existing partition
EB> 
EB> umount /home
EB> gjournal label -f /dev/ad4s1g
EB> tunefs -J enable -n disable /dev/ad4s1g.journal
EB> (added 'async' option to /etc/fstab for /home and changed entry to
EB> /dev/ad4s1g.journal)
EB> mount /home
EB> 
EB> It worked until power failed... :)

No surprize. with you `gjournal label' command you've effectively destroyed 
last 1G of UFS.  You should use external journal provider in such case.


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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