+1 to bonnie++.  I was just going to mention that utility :)<br><br><div class="gmail_quote">On Thu, Jul 7, 2011 at 6:48 PM, Seth David Schoen <span dir="ltr"><<a href="mailto:schoen@loyalty.org">schoen@loyalty.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><a href="mailto:travis%2Bml-noisebridge@subspacefield.org">travis+ml-noisebridge@subspacefield.org</a> writes:<br>

<br>
> Hey all,<br>
><br>
> So I have some HDDs I want to pop in a file server, but I want to<br>
> stress-test them first to get them over the "bathtub curve".<br>
><br>
> I assume I need to write to them over and over, and use SMART to<br>
> monitor for problems.<br>
><br>
> smartmon + dd = okay, seems decent<br>
><br>
> 1) Does anyone know a good tutorial on SMART<br>
><br>
> But it'd be better to check for errors... write various patterns to do<br>
> this and then check the reads - right?<br>
><br>
> 2) Does anyone know a Linux/BSD utility for this?<br>
><br>
> Googled around to no avail.<br>
<br>
</div>I think I want to suggest<br>
<br>
<a href="http://www.coker.com.au/bonnie++/" target="_blank">http://www.coker.com.au/bonnie++/</a><br>
<br>
which is meant as a speed tester, but should work the hard drive<br>
pretty well.<br>
<br>
Someone on Launchpad also mentioned to me that you can use<br>
<br>
udisks --show-info<br>
<br>
instead of smartmontools to get SMART data from the command line.<br>
<br>
It seems to me that trying to check for errors is very unlikely to<br>
find anything, because hard drives have extensive internal soft<br>
error correction.  The probability of an error that gets detected<br>
by the drive and reported to SMART must be _much_ higher than the<br>
probability of an error where bad data silently reaches the<br>
application.  Of course that kind of failure is possible, but it's<br>
hard to imagine that you could elicit it in practice within a<br>
few dozen hours of testing of a few hard drives!<br>
<br>
I would think on a modern drive the overwhelming majority of drive<br>
errors do get reported through SMART, although I don't know how<br>
to quantify "overwhelming majority".<br>
<font color="#888888"><br>
--<br>
Seth David Schoen <<a href="mailto:schoen@loyalty.org">schoen@loyalty.org</a>>      |  No haiku patents<br>
     <a href="http://www.loyalty.org/%7Eschoen/" target="_blank">http://www.loyalty.org/~schoen/</a>        |  means I've no incentive to<br>
  FD9A6AA28193A9F03D4BF4ADC11B36DC9C7DD150  |        -- Don Marti<br>
_______________________________________________<br>
Noisebridge-discuss mailing list<br>
<a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
<a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Ronald Cotoni<div>Systems Engineer</div><br>