Re: 6.0-BETA1: ATA RAID rebuild not working

From: Søren Schmidt <sos_at_deepcore.dk>
Date: Thu, 28 Jul 2005 21:17:30 +0200
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  
> further
> with this?

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

- Søren
Received on Thu Jul 28 2005 - 17:17:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC