From owner-freebsd-geom@FreeBSD.ORG Tue Jul 29 00:00:12 2008 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3A4A1065674 for ; Tue, 29 Jul 2008 00:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A93008FC17 for ; Tue, 29 Jul 2008 00:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6T00COk052658 for ; Tue, 29 Jul 2008 00:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6T00CEI052657; Tue, 29 Jul 2008 00:00:12 GMT (envelope-from gnats) Date: Tue, 29 Jul 2008 00:00:12 GMT Message-Id: <200807290000.m6T00CEI052657@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: Dan Ports Cc: Subject: Re: kern/124969: gvinum(8): gvinum raid5 plex does not detect missing subdisk X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Ports List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2008 00:00:12 -0000 The following reply was made to PR kern/124969; it has been noted by GNATS. From: Dan Ports To: Ulf Lilleengen Cc: bug-followup@FreeBSD.org Subject: Re: kern/124969: gvinum(8): gvinum raid5 plex does not detect missing subdisk Date: Mon, 28 Jul 2008 16:53:05 -0700 I finally got a chance to try your patch (unfortunately, work and life intervened for a couple of weeks). I had to make a minor change or two to get it to compile (e.g. a missing brace). Will provide an updated patch shortly. Unfortunately, though the missing disk is now detected, the plex configuration is not quite right. Here's the output: 3 drives: D b State: up /dev/ad11s1d A: 0/474891 MB (0%) D a State: up /dev/ad10s1d A: 0/474891 MB (0%) D c State: down /dev/??? 1 volume: V space State: up Plexes: 1 Size: 463 GB 1 plex: P space.p0 R5 State: degraded Subdisks: 2 Size: 463 GB 3 subdisks: S space.p0.s0 State: up D: a Size: 463 GB S space.p0.s1 State: stale D: b Size: 463 GB S space.p0.s2 State: down D: c Size: 0 Note that drive c / subdisk s2 are correctly missing, but the plex still contains only two subdisks and is half as large as it should be. Also, not sure why subdisk s1 is marked stale. Thanks, Dan -- Dan R. K. Ports Research Henchman Massachusetts Institute of Technology Computer Science and Artificial Intelligence Lab