From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 01:02:22 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 7FA6316A403 for ; Thu, 1 Mar 2007 01:02:22 +0000 (UTC) (envelope-from odilist@sonic.net) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.freebsd.org (Postfix) with ESMTP id 6EEBF13C46B for ; Thu, 1 Mar 2007 01:02:22 +0000 (UTC) (envelope-from odilist@sonic.net) Received: from [192.168.1.2] (69-12-157-6.dsl.dynamic.sonic.net [69.12.157.6]) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l2112Mo2012575 for ; Wed, 28 Feb 2007 17:02:22 -0800 From: Oliver Iberien To: freebsd-questions@freebsd.org Date: Wed, 28 Feb 2007 17:02:22 -0800 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200702281702.22326.odilist@sonic.net> Subject: RAID failure with READ_DMA status=51 - how to avoid again? 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: Thu, 01 Mar 2007 01:02:22 -0000 I would like to RAID my system but am wondering if I am asking for trouble, given that I got some kind of read failure error followed by file system corruption the first time I did it. Would it be reasonable for me to try RAIDing again, and if so, under what conditions? Details are as follows: I moved my home FreeBSD 6.0 system, which had previously been on a single IDE drive, onto two SATA drives (set to 3.0 G) in a RAID-1 array, with hardware raid (Nvidia) on the motherboard (ASUS A8N-E). I used dump as instructed in the FreeBSD FAQ. This went okay. I then installed a third, large (400GB) SATA drive and backed up the system on the RAID (minus /proc, /tmp, and so on) to it using rdiff-backup. This seemed to go OK. Then, when I shut down immediately afterwards, I saw this: Feb 27 08:43:19 bsd kernel: ad8: FAILURE - READ_DMA status=51 error=40 LBA=146193935 Feb 27 08:43:19 bsd kernel: ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode Feb 27 08:43:19 bsd kernel: ar0: writing of nVidia MediaShield metadata is NOT supported yet I rebooted, the message from the bios that the RAID was healthy came up, but FreeBSD said the file system was not healthy, and I had to run fsck about five times for it to come up clean. The system booted to desktop, crashed after about ten seconds, rebooted, and turned up with a dirty filesytem again. I have since dismantled RAID, removed one of the SATA drives, fsck'ed repeatedly, and then reinstalled KDE, figuring that that as it only crashed when it had finished loading the desktop, that something might be amiss there. The system is running again. All the drives are brand new, as is the cabling. The drives show up in messages as "SATA150" (is 3.0G not supported in FreeBSD?), although the board supports 3.0G transfer rates. There is an errata sheet in the motherboard manual with a matrix indicating on which drive, given multiple SATA drives, the OS should be installed. It's silent on why this is advised and on the subject of the proper order if RAID is involved. Extended offline SMART test on the current drive with smartctl completed without error and overall-health self-assessment test result: PASSED. Thanks in advance for any advice. Oliver