From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 17:19:29 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 329A316A4D0 for ; Wed, 7 Apr 2004 17:19:29 -0700 (PDT) Received: from post.web.ca (post.web.ca [192.139.37.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7A9843D46 for ; Wed, 7 Apr 2004 17:19:28 -0700 (PDT) (envelope-from rob@web.ca) Received: by post.web.ca (Postfix, from userid 1001) id 279AA6724; Wed, 7 Apr 2004 20:19:28 -0400 (EDT) Date: Wed, 7 Apr 2004 20:19:28 -0400 From: Rob Ellis To: freebsd-questions@freebsd.org Message-ID: <20040408001928.GB1706@web.ca> Mail-Followup-To: Rob Ellis , freebsd-questions@freebsd.org References: <20040405164212.GB58790@web.ca> <20040405224249.GX99363@wantadilla.lemis.com> <20040405230945.GB8080@web.ca> <20040406001009.GA99363@wantadilla.lemis.com> <20040406144336.GA4111@web.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040406144336.GA4111@web.ca> User-Agent: Mutt/1.4.1i Subject: Re: Vinum + new disk for mirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 00:19:29 -0000 Just a follow up on my recent vinum disk replacement question... I have a two disk mirror and one of the disks died; I'd asked if I could use dd to copy the good disk to a replacement disk and was being persistent about whether that would work or not. %-) I didn't do that (dd). Instead I followed Greg Lehey's advice and the instructions here: http://www.vinumvm.org/vinum/replacing-drive.html and it all went fine. There's a note on that page about a "a bug [that] will cause the state to be incorrect", but I didn't run into it. My steps were: - install the new disk - fdisk it with /stand/sysinstall - edit the partition table with disklabel to match the partitions on the good disk - create a config file -- vinum.newdisk: drive vinumdisk2 device /dev/ad2s1d - run 'vinum create vinum.newdisk' - then 'vinum start data.p1.s0' # etc... Worked great. - Rob