Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 15:12:40 +0400
From:      Dmitriy Kirhlarov <dimma@higis.ru>
To:        freebsd-stable@freebsd.org
Subject:   Re: ata softraid rebuild problem
Message-ID:  <20051019111240.GC1144@dimma.mow.oilspace.com>
In-Reply-To: <20051018073732.GB876@dimma.mow.oilspace.com>
References:  <20051018073732.GB876@dimma.mow.oilspace.com>

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

I find problem.

On Tue, Oct 18, 2005 at 11:37:32AM +0400, Dmitriy Kirhlarov wrote:
> I use ata soft RAID1 on FreeBSD 5.4-RELEASE-p5.
> Now my raid in degraded status and I can't rebuild it.
> 
> ---
> dimma@clh0 11:32$ sudo atacontrol list
> ATA channel 0:
>     Master:  ad0 <ST380011A/8.01> ATA/ATAPI revision 6
>         Slave:       no device present
> ATA channel 1:
>     Master: acd0 <NEC DVD RW ND-3500AG/2.16> ATA/ATAPI revision 0
>     Slave:   ad3 <ST380011A/8.01> ATA/ATAPI revision 6
> 
> dimma@clh0 11:32$ sudo atacontrol status ar0
> ar0: ATA RAID1 subdisks: ad0 DOWN status: DEGRADED
> 
> dimma@clh0 11:32$ sudo atacontrol rebuild ar0
> 
> dimma@clh0 11:32$ sudo atacontrol status ar0
> ar0: ATA RAID1 subdisks: ad0 DOWN status: DEGRADED
> 
> dimma@clh0 11:32$ sudo atacontrol addspare ar0 ad0
> atacontrol: ioctl(ATARAIDADDSPARE): Device busy
> 
> dimma@clh0 11:33$ dmesg | head -3
> ad0: deleted from ar0 disk0
> ar0: ERROR - array broken
> ad0: WARNING - removed from configuration
> 
> dimma@clh0 11:36$ uname -rs
> FreeBSD 5.4-RELEASE-p5
> ---

dimma@clh0 15:09$ sudo grep -iE "(disk|ata).*(disk|ata)" /var/run/dmesg.boot 
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ar0: 76319MB <ATA RAID1 array> [9729/255/63] status: DEGRADED subdisks:
 disk0 READY on ad0 at ata0-master
 disk1 DOWN no device found for this disk

I has DOWN ad3. Not ad0.
Is "atacontrol status" -- wrong?
Why he report "ad0 down"?

--
WBR
Dmitriy



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