[smartmontools-support] smartctl fails but badblocks succeeds
mysqlstudent at gmail.com
Tue Jun 28 22:08:23 CEST 2022
> > I've also tried to run badblocks on the area around that bad sector, and
> > it's succeeded.
> As far as I could see, you didn't include the screen log of the
> "badblocks" run -- I don't know if that will actually show us anything
> useful, but certainly the exact details of the badblocks invocation
> (including command-line options) may be important to understanding why
> that isn't detecting the error.
# badblocks -svw /dev/sda <end> <start>
I'm pretty sure it bypasses any cache. I've been using it to stress-test
disks for many years, sometimes even running multiple copies of badblocks
across different parts of the disk to really test the system memory and CPU
I discussed the idea with one of the developers of the Adaptec AHA driver
for Linux like fifteen years ago now, yikes.
> # SECT=$(( 556876652 - 100 ))
> # dd iflag=direct if=$DEV of=/dev/null count=200 skip=$SECT
I'll try this as well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Smartmontools-support