From owner-freebsd-stable@FreeBSD.ORG Mon Jul 12 19:09:22 2004 Return-Path: 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 4F5F416A4D0 for ; Mon, 12 Jul 2004 19:09:22 +0000 (GMT) Received: from arrow.wiznet.ca (arrow.wiznet.ca [216.138.223.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90D0443D48 for ; Mon, 12 Jul 2004 19:09:21 +0000 (GMT) (envelope-from steve@nomad.lets.net) Received: from nomad.lets.net (H74.C220.tor.velocet.net [216.138.220.74]) by arrow.wiznet.ca (Postfix) with SMTP id 122A772CB for ; Mon, 12 Jul 2004 15:09:21 -0400 (EDT) Received: (qmail 72224 invoked by uid 1008); 12 Jul 2004 19:50:37 -0000 Date: Mon, 12 Jul 2004 15:50:37 -0400 From: Steve Shorter To: Greg 'groggy' Lehey Message-ID: <20040712195037.GA72052@nomad.lets.net> References: <20040711192909.GA70190@nomad.lets.net> <20040711211001.GZ14202@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040711211001.GZ14202@wantadilla.lemis.com> User-Agent: Mutt/1.4i cc: FreeBSD Stable Users cc: FreeBSD Questions cc: Steve Shorter Subject: Re: serious vinum bug in 4-10 RELEASE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 19:09:22 -0000 On Mon, Jul 12, 2004 at 06:40:01AM +0930, Greg 'groggy' Lehey wrote: > > > > I get the following incorrect configuration. Notice that > > drives data0 and data1 are missing and drives data2 and data3 are > > duplicated where data0 and data1 should be. > > I see no drives. Not sure what you mean see below > > > Ideas? > > http://www.vinumvm.org/vinum/how-to-debug.html I recreated a simpler situation with just 2 mirrored drives. After reboot the vinum lv -r -v reports (*missing *) drives. But before reboot they are there. this is the initial vinum lv -r -v. drives data0 and data1 are clearly listed as mq0.p0.s0 and mq0.p1.s0 Volume mq0: Size: 18341345792 bytes (17491 MB) State: up Flags: 2 plexes Read policy: round robin Plex mq0.p0: Size: 18341345792 bytes (17491 MB) Subdisks: 1 State: up Organization: concat Part of volume mq0 Plex mq0.p1: Size: 18341345792 bytes (17491 MB) Subdisks: 1 State: up Organization: concat Part of volume mq0 Subdisk mq0.p0.s0: Size: 18341345792 bytes (17491 MB) State: up Plex mq0.p0 at offset 0 (0 B) Drive data0 (/dev/da0d) at offset 135680 (132 kB) Subdisk mq0.p1.s0: Size: 18341345792 bytes (17491 MB) State: up Plex mq0.p1 at offset 0 (0 B) Drive data1 (/dev/da1d) at offset 135680 (132 kB) this is the vinum lv -r -v. after reboot drives data0 and data1 are listed as (*missing*) Volume mq0: Size: 18341345792 bytes (17491 MB) State: up Flags: 2 plexes Read policy: round robin Plex mq0.p0: Size: 18341345792 bytes (17491 MB) Subdisks: 1 State: up Organization: concat Part of volume mq0 Plex mq0.p1: Size: 18341345792 bytes (17491 MB) Subdisks: 1 State: up Organization: concat Part of volume mq0 Subdisk mq0.p0.s0: Size: 18341345792 bytes (17491 MB) State: up Plex mq0.p0 at offset 0 (0 B) Drive (*missing*) at offset 135680 (132 kB) Subdisk mq0.p1.s0: Size: 18341345792 bytes (17491 MB) State: up Plex mq0.p1 at offset 0 (0 B) Drive (*missing*) at offset 135680 (132 kB) Here is the on disk configuration, as per your online script. IN VINOq0data0@7@^/dev/da0d count=300 vinum no longer detects any volumes, vinum lv is blank, BUT your script to read the vinum config on disk shows the same vinum config above. If I change the fstype from vinum to 4.2BSD and newfs the partition its still there. Is this possible? Also on boot vinum reports vinum: loaded vinum: no drives found vinum_scandisk() returned 2vinum: no drives found ** no drives found **: no such file or directory Any other info required, just ask. -steve "The age of the Internet has a right to its own music" http://www.linuxsuite.org