From owner-freebsd-stable@FreeBSD.ORG Thu Nov 15 15:41:50 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9065F16A419 for ; Thu, 15 Nov 2007 15:41:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7B89913C478 for ; Thu, 15 Nov 2007 15:41:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 80B681A4D84; Thu, 15 Nov 2007 07:23:51 -0800 (PST) From: John Baldwin To: freebsd-stable@freebsd.org Date: Thu, 15 Nov 2007 09:55:16 -0500 User-Agent: KMail/1.9.7 References: <46516150.5090705@bulinfo.net> <4651A35F.7030502@bulinfo.net> In-Reply-To: <4651A35F.7030502@bulinfo.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711150955.17352.jhb@freebsd.org> Cc: Subject: Re: Intel Matrix RAID (ICH8R) rebuild? 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: Thu, 15 Nov 2007 15:41:50 -0000 On Monday 21 May 2007 09:49:19 am Krassimir Slavchev wrote: > Bob Bishop wrote: > > > > On 21 May 2007, at 12:52, Krassimir Slavchev wrote: > > > >> Bob Bishop wrote: > >>> Hi, > >>> > >>> On 21 May 2007, at 10:07, Krassimir Slavchev wrote: > >>> > >>>> Hello, > >>>> > >>>> I have problems rebuilding RAID1 array. The bios shows status > >>>> 'Rebuild' and 'Volumes with "Rebuild" status will be rebuilt within > >>>> the operating system'. > >>>> When I try to do 'atacontrol rebuild ar0': > >>>> atacontrol: ioctl(IOCATARAIDREBUILD): Device not configured > >>> > >>> From the output below, assuming the system is running OK, the RAID > >>> doesn't need rebuilding. The BIOS is just confused about the state > >>> of the array, it will probably still boot from it OK. > >> Yes, it boots OK but the RAID need rebuilding. This status is result > >> of disconnecting the second disk, booting, create some files and then > >> reconnect the second disk. [etc] > > > > OK. You need to follow the steps in > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html > > section 18.4.3. Be careful to detach/reattach the right disk :-) > > > > When the rebuild has finished you may find that the BIOS doesn't > > realize the array has been rebuilt, but that may not matter (much). > > > After rebuilding the bios shows 'Normal' status. It seems that the > ata-raid driver can't detect when the array need rebuilding. > > Thanks for your help The ata-raid driver does not automatically start a rebuild, you have to kick if off by hand. -- John Baldwin