Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 2009 06:00:24 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        "John ." <comp.john@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: please recommend a disk-exercising program?
Message-ID:  <4ad871310906070300g5aa63988m370e6362829b2f28@mail.gmail.com>
In-Reply-To: <abc784790906070243t419d8ebbp59a68af23e902004@mail.gmail.com>
References:  <abc784790906070243t419d8ebbp59a68af23e902004@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, John

On Sun, Jun 7, 2009 at 5:43 AM, John .<comp.john@googlemail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310906070300g5aa63988m370e6362829b2f28>