Replacing Failed Drive... with gvinum
Marius Nuennerich
marius.nuennerich at gmx.net
Wed Mar 1 02:19:07 PST 2006
On Tue, 28 Feb 2006 02:52:29 +0100
Marius Nuennerich <marius.nuennerich at gmx.net> wrote:
> On Mon, 13 Feb 2006 22:12:32 +0100
> Olivier Cochard <cochard at 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
Is anyone able to reproduce this? Maybe with real Hardware? Lukas?
More information about the freebsd-geom
mailing list