[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Blocks (sectors) slowly fail on disks over time.  Not much you can do
about that, and it is pretty much true of all drives.

I have read that you should write to every sector at least once every
5 years because the magnatism slowly fails, and after 5 years the
sectors need a re-fresh.

If your worried about cost and want to save a disk, you can do a dd
if=/dev/zero of=/dev/hdX to refresh the drive.  Who knows it may last
another 5 years.

For true block failures as opposed to magnetic degradation, the blocks
are only tested by the drive logic on write, so if you have a sector
that is never written and it goes truly bad, you will have a single
bad sector for the remaining life of the drive.

Performing a write to the sector not only refreshes the magnetic
field, it allows the drive to recognize the failed sector and "do its
job" by re-assigning the bad sector to a good sector from an internal
reserved bad sector list.

I suspect RAID logic is used as much to protect from these isolated
block failures as much as it is for a true disk failure.

OTOH, if you write to the sector and it remains bad, then you more
than likely have a drive on its way out the door.

FYI: High-end RAID systems can monitor the disk sector failure rate
and once the failure rate exceeds a given rate, they can pro-actively
declare the drive failing.  HP for one accepts this designation as a
valid reason to swap a drive if you are a supported customer.

Greg

On 6/26/05, Courtney Thomas <ccthomas at joimail.com> wrote:
> Makes sense :-)
> 
> Thanks,
> Courtney
> 
> 
> On Sun, 2005-06-26 at 11:40, Jim Lynch wrote:
> > As cheap as disks are these days, if this is an internal 3.5" drive, I'd
> > replace it.  If one block is bad, how long before another one goes?
> >
> > Jim.
> > Courtney Thomas wrote:
> >
> > >I've got a couple of HDs that when I:
> > >
> > >dd if=/dev/hdX of=/dev/null bs=1m
> > >
> > >I get a single instance of something like:
> > >
> > >FAILURE - READ_DMA status=51 <READY, DSC, ERROR> error=40
> > ><UNCORRECTABLE> LBA=19194112 Input/output error
> > >
> > >My question is: does this signify a single bad block and is there a way
> > >to identify this error to some program that can block it's use, so the
> > >drive can be used ?
> > >
> > >Thank you,
> > >Courtney
> > >
> > >_______________________________________________
> > >Ale mailing list
> > >Ale at ale.org
&gt; &gt; &gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt;
&gt; &gt; _______________________________________________
&gt; &gt; Ale mailing list
&gt; &gt; Ale at ale.org
&gt; &gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 


-- 
Greg Freemyer
The Norcross Group
Forensics for the 21st Century


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00796" href="msg00796.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
<ul><li><em>From:</em> ccthomas at joimail.com (Courtney Thomas)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00767" href="msg00767.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
<ul><li><em>From:</em> ccthomas at joimail.com (Courtney Thomas)</li></ul></li>
<li><strong><a name="00776" href="msg00776.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
<ul><li><em>From:</em> ale_nospam at fayettedigital.com (Jim Lynch)</li></ul></li>
<li><strong><a name="00778" href="msg00778.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
<ul><li><em>From:</em> ccthomas at joimail.com (Courtney Thomas)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00787.html">[ale] Bash:  How to determine if called from cron?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00789.html">[ale] Bash:  How to determine if called from cron?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00778.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00796.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00788"><strong>Date</strong></a></li>
<li><a href="threads.html#00788"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>