From owner-freebsd-current@FreeBSD.ORG Thu Jul 28 19:17:52 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B86E716A41F for ; Thu, 28 Jul 2005 19:17:52 +0000 (GMT) (envelope-from sos@deepcore.dk) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id F208043D4C for ; Thu, 28 Jul 2005 19:17:51 +0000 (GMT) (envelope-from sos@deepcore.dk) Received: from [194.192.25.136] (mac.deepcore.dk [194.192.25.136]) by spider.deepcore.dk (8.13.3/8.13.3) with ESMTP id j6SJ5p4D055450; Thu, 28 Jul 2005 21:05:53 +0200 (CEST) (envelope-from sos@deepcore.dk) In-Reply-To: <20050727201508.GA52011@carrick.bishnet.net> References: <81AE004D-82DD-4791-9C5F-64AF7B47E8E1@nordahl.net> <3393C657-47A5-43FB-87B7-04555A41A1B5@nordahl.net> <20050727201508.GA52011@carrick.bishnet.net> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <45D58A9F-0A11-47B9-BE08-2DDBE5825E74@deepcore.dk> Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= Date: Thu, 28 Jul 2005 21:17:30 +0200 To: Tim Bishop X-Mailer: Apple Mail (2.733) X-mail-scanned: by DeepCore Virus & Spam killer v1.12 Cc: freebsd-current@freebsd.org, Frode Nordahl Subject: Re: 6.0-BETA1: ATA RAID rebuild not working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 19:17:52 -0000 On 27/07/2005, at 22:15, Tim Bishop wrote: > On Tue, Jul 26, 2005 at 01:30:26PM +0200, Frode Nordahl wrote: > >>> Hello, >>> >>> I am having trouble rebuilding my ATA / SATA RAIDs with 6.0-BETA1. >>> >>> # atacontrol status ar0 >>> ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED >>> >>> # atacontrol addspare ar0 ad4 >>> ad4: inserted into ar0 disk0 as spare >>> >>> # atacontrol rebuild ar0 >>> >>> # atacontrol status ar0 >>> ar0: ATA RAID1 subdisks: ad4 ad6 status: REBUILDING 0% completed >>> >>> And then it just sits at 0% forever. I started a rebuild process on >>> the Promise this friday, and it is still at 0%. >>> >> >> *) The dd starts and finishes, but status stays at 0%, and the RAID >> is never marked as clean >> > > I'm seeing the same thing here with 6.0-BETA1. Have you got any =20 > further > with this? Are you sure that atacontrol is in sync with the kernel ? the ioctl =20 interface changed some time ago. At any rate UNLESS your disks are on a "write metadata" supported =20 controller, the rebuild wont survive a boot since the metadata =20 cannot be written back to the disks. The kernel will complain to this =20= fact if it applies to your system. - S=F8ren