Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2005 11:37:32 +0400
From:      Dmitriy Kirhlarov <dimma@higis.ru>
To:        freebsd-stable@freebsd.org
Subject:   ata softraid rebuild problem
Message-ID:  <20051018073732.GB876@dimma.mow.oilspace.com>

next in thread | raw e-mail | index | archive | help
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@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
---

How I can rebuild my raid?

--
WBR,
Dmitriy



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