From owner-freebsd-questions@FreeBSD.ORG Mon Jan 12 13:32:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F07216A4D0 for ; Mon, 12 Jan 2004 13:32:25 -0800 (PST) Received: from voronoi.ics.uci.edu (voronoi.ics.uci.edu [128.195.6.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5626543D67 for ; Mon, 12 Jan 2004 13:32:23 -0800 (PST) (envelope-from cadaver@tucu.net) Received: from [128.195.105.119] (pv105119.reshsg.uci.edu [128.195.105.119]) (authenticated bits=0) by voronoi.ics.uci.edu (8.12.9p1/8.12.9) with ESMTP id i0CLWMYc044348 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Mon, 12 Jan 2004 13:32:23 -0800 (PST) (envelope-from cadaver@tucu.net) Mime-Version: 1.0 (Apple Message framework v609) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: Michael Date: Mon, 12 Jan 2004 13:32:21 -0800 X-Mailer: Apple Mail (2.609) Subject: Promise Fastrak ATA RAID 1 mirror lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 21:32:25 -0000 Hi, I have an intel motherboard with an onboard Promise Fastrak ATA RAID. This morning it reported that the mirror was lost and I would like to rebuild it. My system is FreeBSD 4.8-RELEASE-p10. This is what's reported from `atacontrol list`: ATA channel 0: Master: acd0 ATA/ATAPI rev 0 Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: ad4 ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 ATA/ATAPI rev 5 Slave: no device present The kernel message that I saw in my daily report was this: ad6: hard error reading fsbn 140018943 of 0-127 (ad6 bn 140018943; cn 138907 tn 10 sn 57) trying PIO mode ad6: DMA problem fallback to PIO mode ad6: DMA problem fallback to PIO mode ad6: DMA problem fallback to PIO mode ad6: DMA problem fallback to PIO mode ad6: hard error reading fsbn 140019007 of 0-127 (ad6 bn 140019007; cn 138907 tn 11 sn 58) status=59 error=00 ar0: WARNING - mirror lost Which is confirmed by the output of `atacontrol status ar0`: ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED So I looked at the handbook () and in section 12.4.3 it suggests that I detach, attach and then rebuild the array. Can I do this on a running system or do I first need to drop to single user mode? If I do that, how do that without rebooting? Does anyone have any experience with this? The other option seems to be to reboot the computer and use the Fastrak firmware to rebuild the array. Which option is the most painless? I have recent dumps of the system, but I would prefer not to have to go that route. Thanks for any help/suggestions, Michael