Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 11:26:38 +0930
From:      Greg Lehey <grog@lemis.com>
To:        FreeBSD Stable Users <freebsd-stable@freebsd.org>
Subject:   HEADS UP: Bug in Vinum 'start' command
Message-ID:  <20010330112638.F61395@wantadilla.lemis.com>

next in thread | raw e-mail | index | archive | help
I've just found a bug in the Vinum 'start' command, due to a missed
MFC.  If you use the 'start' command on a striped plex, you will get
an immediate panic.  It only applies to STABLE and striped plexes.
I'm awaiting permission to MFC; in the meantime, if you need to start
a striped plex, please apply the following patch:

--- vinumconfig.c       2001/03/13 02:59:42     1.32.2.3
+++ vinumconfig.c       2001/03/30 01:45:44
@@ -1396,7 +1396,7 @@
        sprintf(plexsuffix, ".p%d", pindex);                /* form the suffix */
        strcat(plex->name, plexsuffix);                     /* and add it to the name */
     }
-    if (isparity(plex)) {
+    if (isstriped(plex)) {
        plex->lock = (struct rangelock *)
            Malloc(PLEX_LOCKS * sizeof(struct rangelock));
        CHECKALLOC(plex->lock, "vinum: Can't allocate lock table\n");

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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