From owner-freebsd-current@FreeBSD.ORG Wed Jan 2 03:01:00 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA96916A41A for ; Wed, 2 Jan 2008 03:01:00 +0000 (UTC) (envelope-from srw@udor.net) Received: from mail.udor.net (mail.udor.net [64.34.95.190]) by mx1.freebsd.org (Postfix) with ESMTP id B2EEE13C46A for ; Wed, 2 Jan 2008 03:01:00 +0000 (UTC) (envelope-from srw@udor.net) Received: from localhost (KD121110020099.ppp-bb.dion.ne.jp [121.110.20.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.udor.net (Postfix) with ESMTP id D70664287 for ; Tue, 1 Jan 2008 21:39:53 -0500 (EST) Date: Wed, 2 Jan 2008 11:43:27 +0900 From: srwadleigh To: freebsd-current@freebsd.org Message-ID: <20080102114327.62f661f5@udor.net> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Gjournal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 03:01:00 -0000 I am having a strange problem with gjournal on a thinkpad T41, I am running: 7.0-PRERELEASE - Wed Jan 2 06:05:20 JST 2008 And have the problem with both a custom and generic kernel. If I load gjournal through loader.conf or compile GEOM_JOURNAL into the kernel, upon reboot all my slices change, and break booting. ad0s1a becomes ad0a ad0s1d becomes ad0d, and so on.. If I manually run gjournal load after boot the slices are fine, everything works as expected. Here is my journal setup: /dev/ad0s1f.journal 64G /usr/home Geom name: gjournal 2080874044 ID: 2080874044 Providers: 1. Name: ad0s1f.journal Mediasize: 70812433920 (66G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: ad0s1f Mediasize: 71886176256 (67G) Sectorsize: 512 Mode: r1w1e1 Jend: 71886175744 Jstart: 70812433920 Role: Data,Journal Doing some research on the list I found a similar problem in the past with gmirror, where the slice and device ending at the same place was being confused. The solution suggested there seemed to be to hardcode the provider names into the metadata. http://lists.freebsd.org/pipermail/freebsd-stable/2005-May/014448.html My question is, is this possibly the same issue now with gjournal? and is it possible to hardcode provider names after a journal has been created? thanks srw