From owner-freebsd-stable@FreeBSD.ORG Sun Aug 3 15:03:33 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AC70106567D for ; Sun, 3 Aug 2008 15:03:33 +0000 (UTC) (envelope-from ebutusov@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.181]) by mx1.freebsd.org (Postfix) with ESMTP id EAB548FC0A for ; Sun, 3 Aug 2008 15:03:32 +0000 (UTC) (envelope-from ebutusov@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so3577785ika.3 for ; Sun, 03 Aug 2008 08:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=wgdjCy61AAciuxduWF+1LRGaV0qu227nWF1WJTuj7zU=; b=SRzepXYA0IdNWkeQYLgkK2ZCwXp6iAp+TPd8yXGoUQp3MhajyG3/lAiVF/zNTr71K2 TNIND20s/cvrGpkc7qihjm8IYQbRG1NVQdqlfGeYNB9SB3LtcVpenCF/xnNWecF5blYt WGPIQZltfVS59bJJ1oRrRLosKv573HgIBL2Us= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=bH7yS6j7vxr9VrI9NUgZzxePOG2W+wWDcMlUnsqzLnIxUJ9UeQeM5FNGlwPG7rTxNV kH3n3a/yxVvMKP2qbnQHzItIdUm1RinmALNifUWsDavWgFGArQMwAFtBmhA7zoJNSVla tXeOLB5u8LFVKY/x2sp+7jyLsL+qk0qgHIjJ0= Received: by 10.210.109.10 with SMTP id h10mr15611331ebc.194.1217775811481; Sun, 03 Aug 2008 08:03:31 -0700 (PDT) Received: from ?192.168.0.51? ( [195.136.67.137]) by mx.google.com with ESMTPS id h1sm4635577nfh.19.2008.08.03.08.03.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Aug 2008 08:03:30 -0700 (PDT) Message-ID: <4895C8B8.1030506@gmail.com> Date: Sun, 03 Aug 2008 17:03:20 +0200 From: Eugene Butusov User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Dmitry Morozovsky References: <4894CE6D.2000204@gmail.com> <4d7dd86f0808030433l6cda06ccjba154d6f0cee7d0e@mail.gmail.com> <4895A61F.8030502@gmail.com> <20080803181633.U64745@woozle.rinet.ru> In-Reply-To: <20080803181633.U64745@woozle.rinet.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-STABLE-LIST Subject: Re: 7-STABLE, gjournal and fsck. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2008 15:03:33 -0000 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