From owner-freebsd-stable@FreeBSD.ORG Fri Oct 23 16:02:53 2009 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 C33661065670 for ; Fri, 23 Oct 2009 16:02:53 +0000 (UTC) (envelope-from oliver@FreeBSD.org) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id 176398FC23 for ; Fri, 23 Oct 2009 16:02:52 +0000 (UTC) Received: (qmail 65067 invoked by uid 89); 23 Oct 2009 15:36:11 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 23 Oct 2009 15:36:11 -0000 Date: Fri, 23 Oct 2009 17:36:11 +0200 From: Oliver Lehmann To: freebsd-stable@freebsd.org Message-Id: <20091023173611.1d44c7a4.oliver@FreeBSD.org> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Dag-Erling =?UTF-8?B?U23DuHJncmF2?= , Pawel Jakub Dawidek Subject: 8.0: glabel on a gjournaled FS is broken 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: Fri, 23 Oct 2009 16:02:53 -0000 Hi, I updated my RC1 box now to the latest RELENG_8 code to get my gmirror +glabel setup working. Since gjournal was now supposed to work as well I set this up once more. This was not so easy as I thought because cleaning the metadata on my previously journaled filesystems (but not working because of the bug) was a pain. With geom_journal.ko loaded at the boottime the system was not able to boot up - waiting infinitly for the nonexisting journal to show up spamming my screen with timeout messages. What a mess.... Finally I got the module disabled in the bootloader (I guess I'll never ever compile this directly into the kernel if it can cause my system not to come up again) Now I have two partitions in a journaled state. What I did was: gjournal load gjournal label da0p1 mirror/gm0s1h tunefs -J enable -n disable da0p1.journal gjournal label mirror/gm0s1f mirror/gm0s1g tunefs -J enable -n disable mirror/gm0s1f.journal Then I rebooted into single user mode again to label the filesystems. Then I did: glabel label swap mirror/gm0s1b tunefs -L root mirror/gm0s1a tunefs -L var mirror/gm0s1d tunefs -L tmp mirror/gm0s1e tunefs -L usr mirror/gm0s1f.journal tunefs -L files da0p1.journal /dev/ufs and /dev/label contained all the given label. Then I rebooted once more - again into the single user mode. Now ufs/files and ufs/usr is gone.... so glabel in conjunction with gjournal is broken.... -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/