Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2005 21:17:30 +0200
From:      =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@deepcore.dk>
To:        Tim Bishop <tim-lists@bishnet.net>
Cc:        freebsd-current@freebsd.org, Frode Nordahl <frode@nordahl.net>
Subject:   Re: 6.0-BETA1: ATA RAID rebuild not working
Message-ID:  <45D58A9F-0A11-47B9-BE08-2DDBE5825E74@deepcore.dk>
In-Reply-To: <20050727201508.GA52011@carrick.bishnet.net>
References:  <81AE004D-82DD-4791-9C5F-64AF7B47E8E1@nordahl.net> <3393C657-47A5-43FB-87B7-04555A41A1B5@nordahl.net> <20050727201508.GA52011@carrick.bishnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 27/07/2005, at 22:15, Tim Bishop wrote:

> On Tue, Jul 26, 2005 at 01:30:26PM +0200, Frode Nordahl wrote:
>
>>> Hello,
>>>
>>> I am having trouble rebuilding my ATA / SATA RAIDs with 6.0-BETA1.
>>>
>>> # atacontrol status ar0
>>> ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED
>>>
>>> # atacontrol addspare ar0 ad4
>>> ad4: inserted into ar0 disk0 as spare
>>>
>>> # atacontrol rebuild ar0
>>>
>>> # atacontrol status ar0
>>> ar0: ATA RAID1 subdisks: ad4 ad6 status: REBUILDING 0% completed
>>>
>>> And then it just sits at 0% forever. I started a rebuild process on
>>> the Promise this friday, and it is still at 0%.
>>>
>>
>> *) The dd starts and finishes, but status stays at 0%, and the RAID
>> is never marked as clean
>>
>
> I'm seeing the same thing here with 6.0-BETA1. Have you got any =20
> further
> with this?

Are you sure that atacontrol is in sync with the kernel ? the ioctl =20
interface changed some time ago.
At any rate UNLESS your disks are on a "write metadata" supported =20
controller, the rebuild wont  survive a boot since the metadata =20
cannot be written back to the disks. The kernel will complain to this =20=

fact if it applies to your system.

- S=F8ren





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45D58A9F-0A11-47B9-BE08-2DDBE5825E74>