From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 01:20:15 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 46F7616A403 for ; Thu, 1 Mar 2007 01:20:15 +0000 (UTC) (envelope-from russell.wood@rac.com.au) Received: from maserati.rac.com.au (maserati.rac.com.au [61.88.37.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9B8D113C47E for ; Thu, 1 Mar 2007 01:20:14 +0000 (UTC) (envelope-from russell.wood@rac.com.au) Received: from mazda.rac.com.au ([172.16.5.50]) by audi.rac.com.au with Microsoft SMTPSVC(6.0.3790.1830); Thu, 1 Mar 2007 10:20:12 +0900 Received: from mercury.rac.com.au ([172.16.5.42]) by mazda.rac.com.au with Microsoft SMTPSVC(6.0.3790.1830); Thu, 1 Mar 2007 10:20:12 +0900 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Thu, 1 Mar 2007 10:20:11 +0900 Message-ID: X-MS-Has-Attach: Importance: normal Priority: normal X-MS-TNEF-Correlator: Thread-Topic: RAID failure with READ_DMA status=51 - how to avoid again? thread-index: AcdbnWss5R+NMqQMSOqfJ/fSxnYOoAAAhSyQ From: "Wood, Russell" To: "Oliver Iberien" , X-OriginalArrivalTime: 01 Mar 2007 01:20:12.0293 (UTC) FILETIME=[C268E350:01C75B9F] X-imss-version: 2.046 X-imss-result: Passed X-imss-scanInfo: M:P L:E SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:3.6.1039(15026.001) X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:2 C:1 M:1 S:1 R:1 (0.1500 0.1500) Cc: Subject: RE: 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:20:15 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Oliver Iberien > Sent: Thursday, 1 March 2007 10:02 AM > To: freebsd-questions@freebsd.org > Subject: RAID failure with READ_DMA status=3D51 - how to avoid again? >=20 > 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: >=20 > 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. >=20 > 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. >=20 > Then, when I shut down immediately afterwards, I saw this: > Feb 27 08:43:19 bsd kernel: ad8: FAILURE - READ_DMA > status=3D51 > error=3D40 LBA=3D146193935 > 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 >=20 > 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. >=20 > 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. >=20 > 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. >=20 > Oliver I would suggest downloading FreeSBIE, booting from it and running a dd on your drives to see if it picks up any bad sectors: dd if=3D/dev/adN of=3D/dev/null bs=3D1m conv=3Dnoerror Regards, Russell Wood DISCLAIMER: Disclaimer. This e-mail is private and confidential. If you are not the = intended recipient, please advise us by return e-mail immediately, and = delete the e-mail and any attachments without using or disclosing the = contents in any way. The views expressed in this e-mail are those of the = author, and do not represent those of this company unless this is = clearly indicated. You should scan this e-mail and any attachments for = viruses. This company accepts no liability for any direct or indirect = damage or loss resulting from the use of any attachments to this e-mail.