<div dir="ltr"><div>Hi,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 26, 2022 at 2:33 AM Carlos E. R. <<a href="mailto:robin.listas@telefonica.net" target="_blank">robin.listas@telefonica.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2022-06-12 23:29, Alex wrote:<br>
> Hi,<br>
> I have an older WD1502FAEX 1.5TB disk that fails a smartctl short and<br>
> long test at virtually the same place on the disk with a read error.<br>
> However, running badblocks over the same place on the disk where<br>
> smartctl fails has no problem, even after multiple read/write passes.<br>
> <br>
> Which test do I believe? Is this a reliable disk?<br>
> <br>
> If they're just read errors, isn't there some mechanism to relocate<br>
> those bad sectors or just mark them as unusable and move on?<br>
<br>
Writing to that sector causes the disk firmware to relocate it, if it is<br>
bad when writing.<br>
<br>
When in doubt, I backup the entire disk, then write it full of zeroes<br>
with dd. Then I run the smart long test, and decide.<br></blockquote><div><br></div><div>Thanks for your help. I've already tried to run badblocks around the specific areas that failed, and smartctl still fails after that.</div><div><br></div><div>I'll try to do it on the whole disk, but it would take many hours.</div><div><br></div><div>Thanks again</div><div><br></div><div><br></div><div><br></div><div> </div></div></div>