From owner-freebsd-geom@FreeBSD.ORG Wed Mar 1 10:19:06 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 EBFFE16A420 for ; Wed, 1 Mar 2006 10:19:06 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1F01F43D48 for ; Wed, 1 Mar 2006 10:19:05 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 01 Mar 2006 10:19:04 -0000 Received: from p5083AE1B.dip0.t-ipconnect.de (EHLO sol) [80.131.174.27] by mail.gmx.net (mp032) with SMTP; 01 Mar 2006 11:19:04 +0100 X-Authenticated: #5707313 Date: Wed, 1 Mar 2006 11:18:55 +0100 From: Marius Nuennerich To: freebsd-geom@freebsd.org Message-ID: <20060301111855.270f5d89@sol> In-Reply-To: <20060228025229.6d3b1105@sol> References: <3131aa530602131312r1944cfbfi@mail.gmail.com> <20060228025229.6d3b1105@sol> 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: Wed, 01 Mar 2006 10:19:07 -0000 On Tue, 28 Feb 2006 02:52:29 +0100 Marius Nuennerich wrote: > 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 Is anyone able to reproduce this? Maybe with real Hardware? Lukas?