Date: Sun, 03 Aug 2008 17:03:20 +0200 From: Eugene Butusov <ebutusov@gmail.com> To: Dmitry Morozovsky <marck@rinet.ru> Cc: FreeBSD-STABLE-LIST <freebsd-stable@freebsd.org> Subject: Re: 7-STABLE, gjournal and fsck. Message-ID: <4895C8B8.1030506@gmail.com> In-Reply-To: <20080803181633.U64745@woozle.rinet.ru> References: <4894CE6D.2000204@gmail.com> <4d7dd86f0808030433l6cda06ccjba154d6f0cee7d0e@mail.gmail.com> <4895A61F.8030502@gmail.com> <20080803181633.U64745@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Morozovsky wrote: > 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. Thanks, it explains everything. Ehm... well, next time I'll do it the right way. Best regards, -- _/_/ .. Eugene Butusov _/_/ ... www.devilka.info _/_/ .... ebutusov(at)gmail(dot)com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4895C8B8.1030506>