From owner-freebsd-questions Fri Feb 25 17:21:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from camelot.bitart.com (camelot.BITart.com [206.103.221.33]) by hub.freebsd.org (Postfix) with SMTP id 4C41437BF11 for ; Fri, 25 Feb 2000 17:21:37 -0800 (PST) (envelope-from gerti@bitart.com) Received: (qmail 25936 invoked by uid 101); 26 Feb 2000 01:21:37 -0000 Message-ID: <20000226012137.25935.qmail@camelot.bitart.com> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 4.2mach v148) In-Reply-To: <20000226103604.A19404@freebie.lemis.com> X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.2p1) Received: by NeXT.Mailer (1.148) From: Gerd Knops Date: Fri, 25 Feb 2000 19:21:37 -0600 To: Greg Lehey Subject: Re: Disk Mirroring Cc: Jon Rust , freebsd-questions@FreeBSD.ORG Reply-To: gerti@BITart.com References: <20000225222638.25346.qmail@camelot.bitart.com> <20000226103604.A19404@freebie.lemis.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > On Friday, 25 February 2000 at 14:59:40 -0800, Jon Rust wrote: > > At 4:26 PM -0600 2/25/00, Gerd Knops wrote: > > > >> Well, did you ever try to recover a vinum mirror setup after one of two > >> IDE disks died and you replaced it with a new one? It just doesn't work! > > > > I did this as a test when I first brought up my Vinum raids. I'll see > > if I can remember the steps: > > > > 1) Drive fails (I unplugged the drive's power in my tests) > > 2) Shutdown > > 3) Plug new drive in (in same logical location, ie IDE master/slave, > > SCSI ID, etc). Make sure it's big enough! > > 4) Boot up > > 5) fdisk new drive (I use /stand/sysintall for this, and inital label) > > 6) (re)label new drive slice as Vinum (disklabel -e da?) > > 7) start vinum and issue "start mirror.p1" (for example, if a drive > > on plex p1 in volume mirror had failed) > > > > Step 7 is the part my memory is fuzzy on, but without looking up my > > notes on it, I beleive this is correct. Mr. Lehey, do you have > > anything to add? > > In this situation you probably need to tell Vinum the name of the new > drive: > > drive b device /dev/da1e > > Otherwise vinum will know that the drive exists, but there's nothing > on the drive to identify it. > Err: That gives me: ============== D d1 State: up Device /dev/wd0f Avail: 2487/2512 MB (99%) D d2 State: up Device /dev/wd2f Avail: 2511/2512 MB (100%) V mirror State: up Plexes: 2 Size: 24 MB P mirror.p0 C State: up Subdisks: 1 Size: 24 MB P mirror.p1 C State: flaky Subdisks: 1 Size: 24 MB S mirror.p0.s0 State: up PO: 0 B Size: 24 MB S mirror.p1.s0 State: reborn PO: 0 B Size: 24 MB ============== (/dev/wd2f being the 'new' drive) 'vinum start mirror.p1' doesn't seem to do anything, nor does 'vinum stop' followed by 'vinum start' (that complains 'Warning: defective objects'). Gerd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message