From owner-freebsd-geom@FreeBSD.ORG Fri Oct 13 07:47:58 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E078616A403; Fri, 13 Oct 2006 07:47:58 +0000 (UTC) (envelope-from snow@teardrop.org) Received: from silver.teardrop.org (silver.teardrop.org [66.92.75.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 151A043D69; Fri, 13 Oct 2006 07:47:54 +0000 (GMT) (envelope-from snow@teardrop.org) Received: by silver.teardrop.org (Postfix, from userid 100) id D092395DB3; Fri, 13 Oct 2006 03:47:53 -0400 (EDT) Date: Fri, 13 Oct 2006 03:47:53 -0400 From: James Snow To: Andrew - Supernews Message-ID: <20061013074753.GA39440@teardrop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: ade@freebsd.org, freebsd-geom@freebsd.org Subject: Re: gmirror panics on startup, and some other cases X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 07:47:59 -0000 On Thu, Jul 20, 2006 at 03:00:52AM +0100, Andrew - Supernews wrote: > Running RELENG_6 as of June 21 2006, we ran into what looks like a > couple of related gmirror bugs relating to synchronization problems > during destruction. In the worst case these can cause a kernel panic > before reaching single-user mode, if geom_mirror is loaded from > loader.conf. I recently encountered this same problem, also in RELENG_6. My disk was a removable one, so attaching it to the system would bring the system down when gmirror tasted the disk. Since all I really wanted was to mount the underlying filesystems to copy data off the disk, I found myself wanting for a way to tell gmirror to simply not taste the disk when it was inserted. I worked around my problem and got my data, but I still wondered: Is there a way to tell gmirror or geom to completely ignore a particular disk? If I could have done that, presumably I could have written new gmirror labels to this disk - overwriting the corrupted ones - and gone on my merry way. -Snow