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

Re: how to test disk for bad sector





On Sat, Aug 29, 2020, 7:11 AM Long Wind <longwind2@yahoo.com> wrote:
Thank Alexander! i'll test it with write test.


On Saturday, August 29, 2020, 4:18:31 AM EDT, Alexander V. Makartsev <avbetev@gmail.com> wrote:


On 29.08.2020 07:59, Long Wind wrote:
installation of linux to sdb1 fails
i believe hard disk has bad sector
If hard drive has bad sectors or recently encountered them, information about this should be noted to hard drive's SMART table.
Alternatively, you can use "badblocks" program from "e2fsprogs" package to scan hard drive for bad blocks.
I'd perform tests on wiped clean hard drive with non-destructive read test first, followed by write test.
Testing media for bad blocks could be time consuming if hard drive is multiple terabytes in size.


i use e2fsck with -c, i.e. read-only test
it doesn't  report [useful data] 
I encountered a different situation, that *might* apply.  I had, what I can only describe as,  *SUCH*  a defective USB Stick that, instead of declaring any errors, many I/O Requests would "Time Out" and then *succeed* without an Error Message. 

This turned into a "Cluster-*$@#", because it wasn't Debian I was Installing, but Mint 20, whose Email List Support lacked basic Troubleshooting Skills, on the day that I submitted my "Distress Call".  (A combination of only Install from a Live DVD with Ubiquity, coupled with an Irrelevant Python Error Message that comes out, periodically, even in the best of circumstances didn't help either). 

So have you tested the Hardware in question on "Neutral Tasks"? 

Thank you!  (And I *still* think Mint should offer an Expert, Text Install option like Debian!) 

Kenneth Parker 

Reply to: