From owner-freebsd-stable@FreeBSD.ORG Wed May 31 22:23:46 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90CE416B11D for ; Wed, 31 May 2006 22:23:46 +0000 (UTC) (envelope-from tdb@carrick.bishnet.net) Received: from carrick.bishnet.net (carrick.bishnet.net [84.234.16.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 227F743D45 for ; Wed, 31 May 2006 22:23:46 +0000 (GMT) (envelope-from tdb@carrick.bishnet.net) Received: from tdb by carrick.bishnet.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FlZ67-0008FM-BF for stable@freebsd.org; Wed, 31 May 2006 23:23:27 +0100 Date: Wed, 31 May 2006 23:23:27 +0100 From: Tim Bishop To: stable@freebsd.org Message-ID: <20060531222327.GA11149@carrick.bishnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: 0x5AE7D984, http://www.bishnet.net/tim/tim-bishnet-net.asc X-PGP-Fingerprint: 1453 086E 9376 1A50 ECF6 AE05 7DCE D659 5AE7 D984 User-Agent: Mutt/1.5.11 X-Bishnet-MailScanner-Information: Contact postmaster@bishnet.net X-Bishnet-MailScanner-VirusCheck: Found to be clean X-Bishnet-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.6, required 5, autolearn=not spam, BAYES_00 -2.60, NO_RELAYS -0.00) X-Bishnet-MailScanner-From: tdb@carrick.bishnet.net Cc: Subject: Problem with geom_vinum on 5.5 and 6.1 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: Wed, 31 May 2006 22:23:51 -0000 I'm running 6.1-RELEASE (and previously 5.5) with gvinum to mirror two internal root disks. At the time of this problem the second disk is physically disconnected. [with 5.5] Whilst copying data off the first disk, from a gvinum volume, I had a single disk error. This put the volume in the down state. I rebooted the machine (probably not the best move in hindsight!), and when booting it said the following: ad0: 78167MB [158816/16/63] at ata0-master UDMA133 GEOM_VINUM: subdisk swap.p1.s0 state change: down -> stale GEOM_VINUM: subdisk root.p1.s0 state change: down -> stale GEOM_VINUM: subdisk var.p1.s0 state change: down -> stale GEOM_VINUM: subdisk usr.p1.s0 state change: down -> stale And then completely hangs. I would have expected the gvinum volumes to be unavailable and be given the choice of which root fs to mount. I've currently got round this by booting a different kernel which stops geom_vinum.ko from being loaded, and consequently allows me to choose a root fs. The filesystems are now mounted directly from /dev/ad0s1x. If I do "gvinum start" in single user it locks up too. [now with 6.1] After an upgrade to 6.1 if I do "gvinum start" in single user I get the same GEOM_VINUM lines as above, and gvinum hangs and becomes uninterruptable. Unlike with 5.5, the machine is still vaguely responsive and a ctrl+alt+del forces a reboot fine. Maybe my configuration on disk is corrupt? or something like that? Has anyone got any ideas, or should I maybe just start from scratch with a new gvinum config? Thanks, Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984 ----- End forwarded message ----- Cheers, Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984