From owner-freebsd-questions@FreeBSD.ORG Sun Jun 7 10:00:26 2009 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 50F95106566C for ; Sun, 7 Jun 2009 10:00:26 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id CEDC28FC08 for ; Sun, 7 Jun 2009 10:00:25 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz9 with SMTP id 9so11321bwz.43 for ; Sun, 07 Jun 2009 03:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Xav4/YMjSsB/m4HqYMwtA5jHhGwha+B4LAQULhJS/rE=; b=wtKDloJAAYbtI4TL6Rv/sJPN2cs4P+4pPNquPoK1+DIliy3YWh1sYtkEr6oEAQvrHE Z+TR1gfhWTB5na+jW3HWMUuwn3WdL/lNoWXGDxAR+htbRsKm4xlA8X3Qvwf8WlqbPldc N2m/na+ND92yin4tixr/4Aajn/wg8cSRcfboY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hA2LKhhGrAhaG/hUlfkG3JoS2QmZElA+llcRdYpbR7WxP7vGqwb4kyOYKNunES5miU jadXh43l4VcutexAef0yuU2beOH3chjvteSwZTCWoKA4qYvmScnKlPqlDr4hgldqglpc euqfgORtHAtrSkwz6k8m4sIj/SxW6A3wWx7b0= MIME-Version: 1.0 Received: by 10.204.124.7 with SMTP id s7mr5309129bkr.105.1244368824632; Sun, 07 Jun 2009 03:00:24 -0700 (PDT) In-Reply-To: References: Date: Sun, 7 Jun 2009 06:00:24 -0400 Message-ID: <4ad871310906070300g5aa63988m370e6362829b2f28@mail.gmail.com> From: Glen Barber To: "John ." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: please recommend a disk-exercising program? 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: Sun, 07 Jun 2009 10:00:26 -0000 Hi, John On Sun, Jun 7, 2009 at 5:43 AM, John . wrote: > Hello list, > > Can anyone please recommend to me a program that will stress-test a > disk? If it matters, two are connected by firewire, another via usb. > Filesystem is ufs. I think I have a disk that might be about to fail, > but it only sometimes errors when under stress. I need to see if it > was a fluke or to really make it fail, so that I can get rid of it. > You can use dd(1) to stress test disk I/O. Something like this should work: dd if=/dev/${YOURDISK} of=/dev/null bs=1024k -- Glen Barber http://www.dev-urandom.com http://www.linkedin.com/in/glenjbarber