From owner-freebsd-stable@FreeBSD.ORG Wed Oct 19 11:12:44 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 797F316A41F for ; Wed, 19 Oct 2005 11:12:44 +0000 (GMT) (envelope-from dkirhlarov@oilspace.com) Received: from office.oilspace.com (office.oilspace.com [194.129.65.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id D171D43D46 for ; Wed, 19 Oct 2005 11:12:43 +0000 (GMT) (envelope-from dkirhlarov@oilspace.com) Received: from dimma.mow.oilspace.com (proxy-mow.oilspace.com [81.19.78.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by office.oilspace.com (Postfix) with ESMTP id 0338D137631 for ; Wed, 19 Oct 2005 12:12:42 +0100 (BST) Received: from dimma.mow.oilspace.com (localhost [127.0.0.1]) by dimma.mow.oilspace.com (8.13.4/8.13.3) with ESMTP id j9JBCfrV002976 for ; Wed, 19 Oct 2005 15:12:41 +0400 (MSD) (envelope-from dkirhlarov@dimma.mow.oilspace.com) Received: (from dkirhlarov@localhost) by dimma.mow.oilspace.com (8.13.4/8.13.3/Submit) id j9JBCeXN002975 for freebsd-stable@freebsd.org; Wed, 19 Oct 2005 15:12:40 +0400 (MSD) (envelope-from dkirhlarov) Date: Wed, 19 Oct 2005 15:12:40 +0400 From: Dmitriy Kirhlarov To: freebsd-stable@freebsd.org Message-ID: <20051019111240.GC1144@dimma.mow.oilspace.com> References: <20051018073732.GB876@dimma.mow.oilspace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051018073732.GB876@dimma.mow.oilspace.com> X-Mailer: Mutt-ng devel (2005-03-13) based on Mutt 1.5.9 X-Operating-System: FreeBSD 5.4-STABLE User-Agent: mutt-ng/devel-r535 (FreeBSD) Subject: Re: ata softraid rebuild problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 11:12:44 -0000 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 ATA/ATAPI revision 6 > Slave: no device present > ATA channel 1: > Master: acd0 ATA/ATAPI revision 0 > Slave: ad3 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 [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