From owner-freebsd-questions@FreeBSD.ORG Thu Sep 27 18:04:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 137B016A417 for ; Thu, 27 Sep 2007 18:04:55 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id DFAC113C4AA for ; Thu, 27 Sep 2007 18:04:54 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out4.apple.com (Postfix) with ESMTP id 6D3B81346C0F; Thu, 27 Sep 2007 11:04:52 -0700 (PDT) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id 51A852805E; Thu, 27 Sep 2007 11:04:52 -0700 (PDT) X-AuditID: 11807130-a33c1bb000004daf-c1-46fbf0c49686 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay11.apple.com (Apple SCV relay) with ESMTP id 3A4F02804D; Thu, 27 Sep 2007 11:04:52 -0700 (PDT) In-Reply-To: <001201c8012d$e747d620$0a00020a@mickey> References: <001201c8012d$e747d620$0a00020a@mickey> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0079D5BC-57FB-4013-B772-545D7D83203B@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Thu, 27 Sep 2007 11:04:51 -0700 To: Don O'Neil X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: Stress testing/burning in HDDs 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, 27 Sep 2007 18:04:55 -0000 On Sep 27, 2007, at 10:43 AM, Don O'Neil wrote: > I have an array that has a drive that keeps timing out/failing... > So I need > to replace it. However, I want to stress test/burn in a replacement > disk > first. > > What is the best way to do this? It's reasonable to start with something like a: dd if=/dev/your_disk of=/dev/null bs=5120 ...to at least try reading every sector on the drive as a basic sanity check. Better would be to install /usr/ports/sysutils/ smartmontools and run some SMART self-tests via: smartctl -t long /dev/your_disk smartctl even understands some types of RAID controllers, but not all of them.... -- -Chuck