From owner-freebsd-questions Tue Apr 13 20: 3:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 33B8C14E58 for ; Tue, 13 Apr 1999 20:03:10 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA19444; Wed, 14 Apr 1999 12:30:46 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA15947; Wed, 14 Apr 1999 12:30:44 +0930 (CST) Message-ID: <19990414123044.J81628@lemis.com> Date: Wed, 14 Apr 1999 12:30:44 +0930 From: Greg Lehey To: Rob Ellis , freebsd-questions@FreeBSD.ORG Subject: Re: vinum - steps to recreate mirror? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Rob Ellis on Tue, Apr 13, 1999 at 04:49:26PM -0400 WWW-Home-Page: http://www.lemis.com/~grog 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 Tuesday, 13 April 1999 at 16:49:26 -0400, Rob Ellis wrote: > We've been experimenting with vinum, with the idea of setting > up a two-disk mirror for a mail spool, and so far it's great. Glad to hear it. > But I haven't been able to sort out the steps for replacing a > disk that's failed (e.g., when we pull the plug on it). > Starting with a disk/plex that's "faulty", what is the correct > procedure to replace it, get it back to being "up"? > > The current setup for the mirror is: > > drive drive1 device /dev/da1s1e > drive drive2 device /dev/da2s1e > volume mirror > plex org concat > sd length 4345m drive drive1 > plex org concat > sd length 4345m drive drive2 Well, it depends. If your plex is faulty (say, mirror.p1), just say # vinum start mirror.p1 This will put the plex in the state 'reviving' and cause the data to be copied to the plex, after which it will be up. Replacing a drive is more complicated, mainly because I've never really done that. It works fine if your drive goes away and comes back; then you just start the failed components. The real issue is to relabel the drive. I'll look at that and get it fixed. If you want to help test, that would be of assistance. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message