Date: Tue, 11 Apr 2000 10:37:36 +0930 From: Greg Lehey <grog@lemis.com> To: Michael Jung <mjung@npc.net> Cc: FreeBSD Questions <questions@FreeBSD.org> Subject: Re: Vinum - rebuildparity Message-ID: <20000411103736.G26373@freebie.lemis.com> In-Reply-To: <D17F4A008AD9D3118D6000805FEDF35805083B@EXCHANGE1> References: <D17F4A008AD9D3118D6000805FEDF35805083B@EXCHANGE1>
next in thread | previous in thread | raw e-mail | index | archive | help
[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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000411103736.G26373>