From owner-freebsd-stable@FreeBSD.ORG Mon Dec 13 05:26:37 2004 Return-Path: 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 BAC0416A4CE for ; Mon, 13 Dec 2004 05:26:37 +0000 (GMT) Received: from outbound0.sv.meer.net (outbound0.sv.meer.net [205.217.152.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A14843D4C for ; Mon, 13 Dec 2004 05:26:37 +0000 (GMT) (envelope-from jrhett@mail.meer.net) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) iBD5QUwN004166; Sun, 12 Dec 2004 21:26:30 -0800 (PST) (envelope-from jrhett@mail.meer.net) Received: from mail.meer.net (localhost [127.0.0.1]) by mail.meer.net (8.12.10/8.12.10/meer) with ESMTP id iBD5QTCR085519; Sun, 12 Dec 2004 21:26:29 -0800 (PST) (envelope-from jrhett@mail.meer.net) Received: (from jrhett@localhost) by mail.meer.net (8.12.1/8.12.10) id iBD5QSUg085518; Sun, 12 Dec 2004 21:26:28 -0800 (PST) (envelope-from jrhett) Date: Sun, 12 Dec 2004 21:26:28 -0800 From: Joe Rhett To: =?iso-8859-1?Q?S=F8ren?= Schmidt Message-ID: <20041213052628.GB78120@meer.net> Mail-Followup-To: =?iso-8859-1?Q?S=F8ren?= Schmidt , freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: Meer.net LLC cc: freebsd-stable@FreeBSD.org Subject: confusing status/log messages for degraded array X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2004 05:26:37 -0000 Soren, I have a quick question. Am I misreading this, or is it misleading? During testing of a sil3114 controller (sorry, I know you hate this) I pulled out drive 4, which was part of a mirror: sandbox# atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 ATA/ATAPI revision 0 Slave: no device present ATA channel 2: Master: ad4 Serial ATA v1.0 Slave: no device present ATA channel 3: Master: ad6 Serial ATA v1.0 Slave: no device present ATA channel 4: Master: ad8 Serial ATA v1.0 Slave: no device present ATA channel 5: Master: no device present Slave: no device present Okay, ad10 is offline. However atacontrol reports: sandbox# atacontrol status 0 ar0: ATA RAID1 subdisks: ad6 DOWN status: DEGRADED Does this mean ad6 is up, and the other disk is down? That would make sense, but it would be nice to know which disk that is in case one has a faulty memory or just plain too many systems to manage ;-) But it gets worse. So I reinstall the disk and sandbox# atacontrol detach 5 sandbox# atacontrol attach 5 Master: ad10 Serial ATA v1.0 Slave: no device present sandbox# atacontrol rebuild 0 Check the logs and find Dec 12 21:13:39 sandbox kernel: ad10: 76319MB [155061/16/63] at ata5-master SATA150 Dec 12 21:13:39 sandbox kernel: Opened disk ad10 -> 6 Again, this doesn't tell me which array, and also reads to me as if it is rebuilding from ad10 to ad6... am I reading this wrong? Just to shorten the thread, I think that clarity would be achieved with: sandbox# atacontrol status 0 ar0: ATA RAID1 subdisks: ad6 ad10(DOWN) status: DEGRADED Dec 12 21:13:39 sandbox kernel: Rebuilding array ar0: ad6 -> ad10 -- Joe Rhett Senior Geek Meer.net