From owner-freebsd-stable Thu Mar 29 17:56:43 2001 Delivered-To: freebsd-stable@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 0E3D437B71B for ; Thu, 29 Mar 2001 17:56:41 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 4BFFF6A90D; Fri, 30 Mar 2001 11:26:38 +0930 (CST) Date: Fri, 30 Mar 2001 11:26:38 +0930 From: Greg Lehey To: FreeBSD Stable Users Subject: HEADS UP: Bug in Vinum 'start' command Message-ID: <20010330112638.F61395@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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