Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2007 12:22:30 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        Don O'Neil <lists@lizardhill.com>, freebsd-questions@freebsd.org
Subject:   Re: Stress testing/burning in HDDs
Message-ID:  <D58531E3-F963-4B8F-9CB8-02D37BC53502@mac.com>
In-Reply-To: <20070927210423.K20243@wojtek.tensor.gdynia.pl>
References:  <001201c8012d$e747d620$0a00020a@mickey> <0079D5BC-57FB-4013-B772-545D7D83203B@mac.com> <20070927210423.K20243@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 27, 2007, at 12:04 PM, Wojciech Puchar wrote:
>> 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.
>
> why so small blocks of 10 sectors?
>
> i use bs=64k at least goes faster.

Agreed, but he asked for a stress-test-- arguably, hitting with a  
size of 512 might be better for that purpose than anything faster.  I  
chose 5120 because many ATA devices seem to have a maximum request/ 
DMA-transfer size of 16 sectors, and 512 * 10 is convenient and fits  
under that.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D58531E3-F963-4B8F-9CB8-02D37BC53502>