From owner-freebsd-questions@FreeBSD.ORG Tue Jul 17 05:54:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A936516A404 for ; Tue, 17 Jul 2007 05:54:03 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from pizzabox.cyberleo.net (alpha.cyberleo.net [198.145.45.10]) by mx1.freebsd.org (Postfix) with ESMTP id 89B6013C441 for ; Tue, 17 Jul 2007 05:54:03 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: (qmail 68219 invoked from network); 17 Jul 2007 05:54:02 -0000 Received: from adsl-75-3-112-33.dsl.chcgil.sbcglobal.net (HELO ?172.16.44.14?) (cyberleo@cyberleo.net@75.3.112.33) by alpha.cyberleo.net with ESMTPA; 17 Jul 2007 05:54:02 -0000 Message-ID: <469C5A04.7060902@cyberleo.net> Date: Tue, 17 Jul 2007 00:55:57 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.4 (X11/20070604) MIME-Version: 1.0 To: Derek Holden References: <4d1141fd0707160445q55c60e44w9701a1e6b7d298e4@mail.gmail.com> In-Reply-To: <4d1141fd0707160445q55c60e44w9701a1e6b7d298e4@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Promise RAID / ata problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2007 05:54:03 -0000 Derek Holden wrote: > Greetings, > > I have a Promise Fasttrak TX4200 running a single mirrored array under 5.5. > Everything's been great for nearly a year until a recent reboot. It > appears > that the two disk mirrored array is coming up as two arrays with a single > disk attached: > > Before: > > kernel: acd0: CDRW at ata1-slave UDMA33 > kernel: ad6: 305245MB at ata3-master SATA150 > kernel: ad10: 305245MB at ata5-master SATA150 > kernel: ar0: 305175MB status: READY > kernel: ar0: disk0 READY (master) using ad10 at ata5-master > kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master > > After: > > kernel: acd0: CDRW at ata1-slave UDMA33 > kernel: ad6: 305245MB at ata3-master SATA150 > kernel: ad10: 305245MB at ata5-master SATA150 > kernel: ar0: disk0 DOWN no device found for this subdisk > kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master > kernel: ar1: 305175MB status: DEGRADED > kernel: ar1: disk0 READY (master) using ad10 at ata5-master > kernel: ar1: disk1 DOWN no device found for this subdisk > > # atacontrol status ar0 > ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED > > # atacontrol status ar1 > ar1: ATA RAID1 subdisks: ad10 DOWN status: DEGRADED > > Nothing's was changed on the machine. I'm looking for any ideas on the > best > way to re-establish the single mirrored array. Thanks a lot, It's possible that a few bits that the promise controller uses to identify the members of an array got flipped on one of the drives, thus turning a two-disk array into two two-disk arrays with missing partners. The fact that one array is missing its first disk while the other is missing its second seems to hint towards this. As it appears to be a mirror, you could try mounting both read-only in two separate directories and diffing their contents, then backing up the most recent-looking copy (just in case) and using the promise bios to destroy the mirage array and re-add the new spare disk to the original array. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/