Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 02:52:29 +0100
From:      Marius Nuennerich <marius.nuennerich@gmx.net>
To:        freebsd-geom@freebsd.org
Subject:   Re: Replacing Failed Drive... with gvinum
Message-ID:  <20060228025229.6d3b1105@sol>
In-Reply-To: <3131aa530602131312r1944cfbfi@mail.gmail.com>
References:  <3131aa530602131312r1944cfbfi@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Feb 2006 22:12:32 +0100
Olivier Cochard <cochard@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060228025229.6d3b1105>