From owner-freebsd-geom@FreeBSD.ORG Tue Feb 28 01:52:37 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4D4816A420 for ; Tue, 28 Feb 2006 01:52:37 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E9FC143D45 for ; Tue, 28 Feb 2006 01:52:36 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 28 Feb 2006 01:52:35 -0000 Received: from p5083AA43.dip0.t-ipconnect.de (EHLO sol) [80.131.170.67] by mail.gmx.net (mp035) with SMTP; 28 Feb 2006 02:52:35 +0100 X-Authenticated: #5707313 Date: Tue, 28 Feb 2006 02:52:29 +0100 From: Marius Nuennerich To: freebsd-geom@freebsd.org Message-ID: <20060228025229.6d3b1105@sol> In-Reply-To: <3131aa530602131312r1944cfbfi@mail.gmail.com> References: <3131aa530602131312r1944cfbfi@mail.gmail.com> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Replacing Failed Drive... with gvinum X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 01:52:37 -0000 On Mon, 13 Feb 2006 22:12:32 +0100 Olivier Cochard wrote: > Hi all, > I've just read the post about replacing a failed drive with gmirror, > How doing the same with gvinum (for RAID 1 and RAID 5) volume ? > > Thanks, > > Olivier I would be interested in this too. If I try to emulate replacing a disk in QEMU it panics! This is the short way to reproduce (sorry the wiki entry is in german, but I think it's understandable from the commands): # comment # % host # > qemu # >> vi in qemu % qemu-img create disk1 4G # install 6.1-BETA1 on disk1 % qemu-img create disk2 128M % qemu-img create disk3 128M % qemu-img create disk4 128M % qemu -hda disk1 -hdb disk2 -hdc disk3 -hdd disk4 # raid5 like http://wiki.bsdforen.de/index.php/FreeBSD_-_gvinum_raid5 # shutdown qemu % qemu-img create disk5 128M % qemu -hda disk1 -hdb disk2 -hdc disk3 -hdd disk5 > fdisk -I /dev/ad3 > bsdlabel -R /dev/ad3s1 saved_label > gvinum create >> drive drei device /dev/ad3s1a >> :wq panic() regards Marius