From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 7 00:00:17 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A36551065686 for ; Fri, 7 Nov 2008 00:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 802E18FC14 for ; Fri, 7 Nov 2008 00:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA700EM5035701 for ; Fri, 7 Nov 2008 00:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA700EAx035699; Fri, 7 Nov 2008 00:00:14 GMT (envelope-from gnats) Resent-Date: Fri, 7 Nov 2008 00:00:14 GMT Resent-Message-Id: <200811070000.mA700EAx035699@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A3541065678 for ; Thu, 6 Nov 2008 23:55:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 882D38FC14 for ; Thu, 6 Nov 2008 23:55:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mA6Nt87A081532 for ; Thu, 6 Nov 2008 23:55:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id mA6Nt8kU081531; Thu, 6 Nov 2008 23:55:08 GMT (envelope-from nobody) Message-Id: <200811062355.mA6Nt8kU081531@www.freebsd.org> Date: Thu, 6 Nov 2008 23:55:08 GMT From: Andrew To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/128654: atacontrol does not preserve rebuild status through reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2008 00:00:17 -0000 >Number: 128654 >Category: bin >Synopsis: atacontrol does not preserve rebuild status through reboot >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 07 00:00:14 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Andrew >Release: 7.0-RELEASE >Organization: >Environment: FreeBSD asdf 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When you're rebuilding a RAID1 array with atacontrol and reboot, the rebuild status is not preserved and the disk is marked Ok. This causes inconsistency problems as the driver reads from both disks. >How-To-Repeat: atacontrol create RAID1 ad4 ad6 atacontrol detach ata3 (or another channel that contains a disk in ar0) atacontrol attach ata3 (same as above) atacontrol addspare ar0 ad6 (whichever the dropped disk was) atacontrol rebuild ar0 atacontrol status ar0 # Wait just a minute until status says > 0% reboot # ..... atacontrol status ar0 # ac9: ATA RAID1 status: READY # i.e. the rebuild is _not_ continued after reboot. >Fix: >Release-Note: >Audit-Trail: >Unformatted: