From owner-freebsd-questions Fri Feb 25 16: 6:25 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 7E7C037BD66 for ; Fri, 25 Feb 2000 16:06:19 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA31368; Sat, 26 Feb 2000 10:36:05 +1030 (CST) Date: Sat, 26 Feb 2000 10:36:05 +1030 From: Greg Lehey To: Jon Rust Cc: gerti@BITart.com, freebsd-questions@FreeBSD.ORG Subject: Re: Disk Mirroring Message-ID: <20000226103604.A19404@freebie.lemis.com> References: <20000225222638.25346.qmail@camelot.bitart.com> 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 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. > Voila. As a bonus, the entire Vinum volume is accessable during > rebuild. Same procedure for a RAID-10 failure as well. Not sure of > the RAID-5 recovery procedure, though. I'd say it was the same, but > never ASSume anything because it makes an ASS of U and ME. :-> RAID-5 recovery is the same. 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