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

[no subject]



LBA is the Logical Block Address of the physical sector on the drive.

If indeed your only seeing one LBA address that is consistently bad
you should be able fix it.

If your a C programmer, you could open /dev/hdX, lseek to LBA * 512
and try to read a sector (512) bytes.  It should cause the same error.
 If not, try (LBA - 1) * 512.

If you can find the sector, then modify your code to write to the
sector.  That should either refresh the sector with a stronger
magnetic field, or cause an internal disk problem that causes the disk
to reassign the sector internally.

I would try the above before I started looking at filesystem level solutions.

Unfortunately, I don't know of a standard Linux tool to do the above,
but I'm sure there is one.  (dd with the skip option is very slow
because it actually reads everything being skipped).

Greg
--
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="00770" href="msg00770.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
<ul><li><em>From:</em> magius at wittsend.com (Scott Warfield)</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>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00768.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00770.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00768.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00770.html">[ale] possible to use hard drives that have bad blocks ?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00769"><strong>Date</strong></a></li>
<li><a href="threads.html#00769"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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