ata softraid rebuild problem
Dmitriy Kirhlarov
dimma at higis.ru
Wed Oct 19 04:12:44 PDT 2005
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 at 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 at clh0 11:32$ sudo atacontrol status ar0
> ar0: ATA RAID1 subdisks: ad0 DOWN status: DEGRADED
>
> dimma at clh0 11:32$ sudo atacontrol rebuild ar0
>
> dimma at clh0 11:32$ sudo atacontrol status ar0
> ar0: ATA RAID1 subdisks: ad0 DOWN status: DEGRADED
>
> dimma at clh0 11:32$ sudo atacontrol addspare ar0 ad0
> atacontrol: ioctl(ATARAIDADDSPARE): Device busy
>
> dimma at clh0 11:33$ dmesg | head -3
> ad0: deleted from ar0 disk0
> ar0: ERROR - array broken
> ad0: WARNING - removed from configuration
>
> dimma at clh0 11:36$ uname -rs
> FreeBSD 5.4-RELEASE-p5
> ---
dimma at 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
More information about the freebsd-stable
mailing list