From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 04:25:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D20001065695 for ; Tue, 23 Nov 2010 04:25:14 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 996FC8FC13 for ; Tue, 23 Nov 2010 04:25:14 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id oAN4PD5Y021329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 22 Nov 2010 20:25:13 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id oAN4PDwX021328; Mon, 22 Nov 2010 20:25:13 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA13351; Mon, 22 Nov 10 20:19:27 PST Date: Mon, 22 Nov 2010 20:19:20 -0800 From: perryh@pluto.rain.com To: kraduk@gmail.com Message-Id: <4ceb40c8.IB5c12O9ZJa3abeh%perryh@pluto.rain.com> References: <4ce8b7ce.qnD6CCAK8thDasFl%perryh@pluto.rain.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: a gmirror disappears after adding gjournals to its partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 04:25:14 -0000 krad wrote: > On 21 November 2010 06:10, wrote: ... > > ==== manually-created config files, while still in chroot after install > > Fixit# cat /boot/loader.conf > > geom_mirror_load="YES" > > geom_journal_load="YES" > > > > vfs.root.mountfrom="ufs:/dev/mirror/gm0a.journal" > > vfs.root.mountfrom.options="rw" ... > > ==== output from kldstat, after booting the newly-installed system -- > > ==== and manually mounting the root FS -- showing that geom_mirror.ko > > ==== did get loaded. > > Id Refs Address Size Name > > 1 6 0xc0400000 bb5504 kernel > > 2 1 0xc0fb6000 14540 geom_journal.ko > > 3 1 0xc0fcb000 16ed4 geom_mirror.ko ... > sounds silly but are you loading the gmirror kernel module via > loader.conf Yes, I'm even setting geom_mirror_load to "YES" before setting geom_journal_load to "YES" (although I doubt the order of these settings in loader.conf makes any difference). If the kldstat Id numbers are assigned sequentially, it looks as if geom_journal got loaded first and this may somehow be related (although I don't entirely see how -- absent geom_mirror to make gm0 and its partitions visible, I'd think that geom_journal "should not" be able to find its metadata at all).