From owner-freebsd-questions Mon Apr 10 18: 8:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id D4F1537B887 for ; Mon, 10 Apr 2000 18:08:23 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA26721; Tue, 11 Apr 2000 10:37:36 +0930 (CST) Date: Tue, 11 Apr 2000 10:37:36 +0930 From: Greg Lehey To: Michael Jung Cc: FreeBSD Questions Subject: Re: Vinum - rebuildparity Message-ID: <20000411103736.G26373@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: 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 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Format recovered--see http://www.lemis.com/email/email-format.html] On Monday, 10 April 2000 at 14:26:09 -0400, Michael Jung wrote: > If a disk becomes stale in a plex, what is the correct proceedure to > have the stale drive rebuilt from parity on the remaining drives? > > Here is my config: > > (root@news) /usr/home/staff/mikej$ vinum list > 4 drives: Please don't wrap these lines, it makes it very difficult to read. > D d1 State: up Device /dev/da1g Avail: 0/8667 MB (0%) > D d2 State: up Device /dev/da2g Avail: 0/8667 MB (0%) > D d3 State: up Device /dev/da4g Avail: 0/8667 MB (0%) > D d4 State: up Device /dev/da6g Avail: 0/8667 MB (0%) > > 1 volumes: > V raid0 State: up Plexes: 1 Size: 25 GB > > 1 plexes: > P raid0.p0 R5 State: degraded Subdisks: 4 Size: 25 GB > > 4 subdisks: > S raid0.p0.s0 State: up PO: 0 B Size: 8667 MB > S raid0.p0.s1 State: up PO: 256 kB Size: 8667 MB > S raid0.p0.s2 State: stale PO: 512 kB Size: 8667 MB > S raid0.p0.s3 State: up PO: 768 kB Size: 8667 MB > (root@news) /usr/home/staff/mikej$ > > I've tried doing "vinum rebuildparity raid0.p0" and vinum logs > > 10 Apr 2000 16:12:34.487534 *** vinum started *** > 10 Apr 2000 16:12:34.489817 rebuildparity raid0.p0 > > But nothing actually happens.... Ok what am I missing... > > FreeBSD news.npc.net 4.0-20000214-CURRENT FreeBSD 4.0-20000214-CURRENT > #6: Thu Mar 30 16:17:21 EST 2000 > root@news.npc.net:/usr/src/sys/compile/news i386 > > Vinum is loaded as a module 'rebuildparity' is intended to rebuild the parity blocks of a plex in the "up" state. To start a stale subdisk, use 'start': start raid0.p0.s2 There have been problems with this function under RAID-5. I'd recommend backing up the volume first, just in case it turns to gibberish. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html 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-questions" in the body of the message