Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 20:49:50 +0100
From:      marius@alchemy.franken.de
To:        Soeren Schmidt <sos@spider.deepcore.dk>
Cc:        Nate Lawson <nate@root.org>, current@FreeBSD.ORG
Subject:   Re: mirrored root fs?
Message-ID:  <20030106204950.S35928@newtrinity.zeist.de>
In-Reply-To: <200301061936.h06JaKma029730@spider.deepcore.dk>; from sos@spider.deepcore.dk on Mon, Jan 06, 2003 at 08:36:20PM %2B0100
References:  <20030106201430.R35928@newtrinity.zeist.de> <200301061936.h06JaKma029730@spider.deepcore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 06, 2003 at 08:36:20PM +0100, Soeren Schmidt wrote:
> It seems marius@alchemy.franken.de wrote:
> > > > if `atacontrol rebuild` would work... Is there simple way, i.e. without
> > > > copying the content of the array to a temporary location, to recover from
> > > > disk-failures when doing raid1 on non-raid controllers ?
> > > 
> > > The problem is that if its the drive that on you primary channel that
> > > dies, not all BIOS's can be taught to boot from the other drive on 
> > > the secondary channel. The solution is to swap the drives...
> > 
> > Well, and how would one rebuild the array after swaping the drive from the
> > secondary channel to the primary and hooking up a replacement drive to the
> > secondary channel or if one doesn't want to boot from the array at all ?
> 
> You can boot off the half-mirror and the rebuild with atacontrol once
> the system is up (its done in the background so you can continue to
> run but access speed will be degraded).

And how is this to be done ? :) `atacontrol rebuild ar0` didn't work
here ("not configured" IIRC) with a raid1-array on a non-raid controller
and atacontrol(8) also states:
rebuild  Rebuild a RAID1 array on a RAID capable ATA controller.

> If you want to not use the array you just delete it with atatcontrol
> and the disk will be seen as a normal ATA drive again.
> 

I recovered by copying the content of the half-mirror to another location,
unmounting ar0, `atacontrol create ar0 ...` after replacing the broken
drive, ..., and finally copying the data back to the array. A simpler
way would be fine.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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