Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 18:39:05 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        "Greg 'groggy' Lehey" <grog@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   [Re: vinum broken by devstat changes?
Message-ID:  <20030325183905.A25690@panzer.kdm.org>
In-Reply-To: <20030326003652.GB2959@wantadilla.lemis.com>; from grog@FreeBSD.ORG on Wed, Mar 26, 2003 at 11:06:52AM %2B1030
References:  <20030325184134.E77254@beagle.fokus.fraunhofer.de> <20030326003652.GB2959@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 26, 2003 at 11:06:52 +1030, Greg 'groggy' Lehey wrote:
> On Tuesday, 25 March 2003 at 18:44:03 +0100, Hartmut Brandt wrote:
> >
> > Hi,
> >
> > when calling 'vinum start' it responds with
> >
> > usage: read drive [drive ...]
> >
> > from looking at the code, it appears that it cannot find the disk drives
> > to read the configuration from.
> >
> > vinum read da0 da1
> >
> > just works.
> >
> > So what's the problem? (kernel and user land from today)
> 
> Check vinum(8), function vinum_start (in
> /usr/src/sbin/vinum/commands.c).  It's possible that the changes have
> broken some of the tests, probably of stat->device_type.  I can't
> think it's too difficult to fix.

disk_create() now creates the devstat entry for disks, but defaults
everything to be a direct access (with no interface type).

I've got patches in progress to fix that, but it looks like things should
work with the current state of affairs.

Have you rebuilt world?

It looks like vinum(8) doesn't include a call to devstat_checkversion(), so
it's possible you've got a version mismatch but no way to know it.

Ken
-- 
Kenneth Merry
ken@kdm.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030325183905.A25690>