From owner-freebsd-stable@FreeBSD.ORG Tue Oct 18 07:37:37 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 6E54F16A420 for ; Tue, 18 Oct 2005 07:37:37 +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 0001743D46 for ; Tue, 18 Oct 2005 07:37:36 +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 2FB5B13762B for ; Tue, 18 Oct 2005 08:37:35 +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 j9I7bWfs001536 for ; Tue, 18 Oct 2005 11:37:32 +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 j9I7bWOr001535 for freebsd-stable@freebsd.org; Tue, 18 Oct 2005 11:37:32 +0400 (MSD) (envelope-from dkirhlarov) Date: Tue, 18 Oct 2005 11:37:32 +0400 From: Dmitriy Kirhlarov To: freebsd-stable@freebsd.org Message-ID: <20051018073732.GB876@dimma.mow.oilspace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: 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: Tue, 18 Oct 2005 07:37:37 -0000 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 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 --- How I can rebuild my raid? -- WBR, Dmitriy