ata softraid rebuild problem

Dmitriy Kirhlarov dimma at higis.ru
Tue Oct 18 00:37:37 PDT 2005


Hi, list

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
---

How I can rebuild my raid?

--
WBR,
Dmitriy


More information about the freebsd-stable mailing list